(this["webpackJsonpquotabid-app"] = this["webpackJsonpquotabid-app"] || []).push([[0], {
  177: function (c, A, e) {},
  301: function (c, A, e) {},
  302: function (c, A, e) {},
  303: function (c, A, e) {},
  304: function (c, A, e) {},
  309: function (c, A, e) {
    c.exports = e(641);
  },
  512: function (c, A, e) {},
  515: function (c, A) {},
  517: function (c, A) {},
  531: function (c, A) {},
  533: function (c, A) {},
  561: function (c, A) {},
  563: function (c, A) {},
  564: function (c, A) {},
  570: function (c, A) {},
  572: function (c, A) {},
  590: function (c, A) {},
  593: function (c, A) {},
  609: function (c, A) {},
  612: function (c, A) {},
  630: function (c, A, e) {},
  631: function (c, A, e) {},
  632: function (c, A, e) {},
  633: function (c, A, e) {},
  634: function (c, A, e) {},
  635: function (c, A, e) {},
  636: function (c) {
    c.exports = JSON.parse("{\"name\":\"quotabid-app\",\"version\":\"1.0.3\",\"private\":true,\"proxy\":\"https://paimai2.edp-dev.zcunsoft.com/\",\"dependencies\":{\"@formatjs/intl-datetimeformat\":\"^2.3.0\",\"@reduxjs/toolkit\":\"^1.4.0\",\"@stomp/stompjs\":\"^5.4.4\",\"@testing-library/jest-dom\":\"^4.2.4\",\"@testing-library/react\":\"^9.5.0\",\"@testing-library/user-event\":\"^7.2.1\",\"@types/jest\":\"^24.9.1\",\"@types/node\":\"^12.12.53\",\"@types/react\":\"^16.9.44\",\"@types/react-dom\":\"^16.9.8\",\"@types/react-redux\":\"^7.1.9\",\"@types/react-router-dom\":\"^5.1.5\",\"fast-text-encoding\":\"^1.0.3\",\"http-proxy-middleware\":\"^1.0.5\",\"inobounce\":\"^0.2.0\",\"jquery\":\"^3.5.1\",\"jsonwebtoken\":\"^8.5.1\",\"react\":\"^16.13.1\",\"react-app-polyfill\":\"^1.0.6\",\"react-dom\":\"^16.13.1\",\"react-hook-form\":\"^5.7.2\",\"react-js-pull-to-refresh\":\"^1.2.2\",\"react-redux\":\"^7.2.1\",\"react-router-dom\":\"^5.2.0\",\"react-scripts\":\"3.4.1\",\"redux\":\"^4.0.5\",\"typescript\":\"^3.9.7\"},\"scripts\":{\"start\":\"react-scripts start\",\"build\":\"react-scripts build\",\"test\":\"react-scripts test\",\"eject\":\"react-scripts eject\"},\"eslintConfig\":{\"extends\":\"react-app\"},\"browserslist\":{\"production\":[\">0.2%\",\"not dead\",\"not op_mini all\",\"ie 11\"],\"development\":[\"last 1 chrome version\",\"last 1 firefox version\",\"last 1 safari version\",\"ie 11\"]},\"devDependencies\":{\"@types/jquery\":\"^3.5.3\"}}");
  },
  637: function (c, A, e) {},
  638: function (c, A, e) {},
  639: function (c, A, e) {},
  640: function (c, A, e) {},
  641: function (c, A, e) {
    "use strict";

    e.r(A);
    e(181);
    e(218);
    e(500);
    var n,
        l,
        r,
        i,
        u,
        o,
        s,
        m = e(0),
        d = e.n(m),
        f = e(127),
        b = e.n(f),
        E = e(2),
        p = e(78),
        h = e(22),
        g = (e(512), e(3)),
        w = e.n(g),
        y = e(8),
        B = e(28),
        N = e(129);
    !function (c) {
      c.INDIVIDUAL = "Individual";
      c.CORPORATE = "Corporate";
    }(n || (n = {}));

    (function (c) {
      c.WEB = "web";
      c.PHONE = "phone";
      c.APP_MOBILE = "app/mobile";
      c.UNKNOWN = "";
    })(l || (l = {}));

    (function (c) {
      c.NOT_STARTED = "NotStarted";
      c.FIRST_BID = "FirstBid";
      c.CHANGE_BID = "ChangeBid";
      c.FINISHED = "Finished";
      c.ISSUED = "Issued";
      c.TERMINATED = "Terminated";
      c.SUSPEND = "Suspend";
    })(r || (r = {}));

    (function (c) {
      c[c.Unspecified = -1] = "Unspecified";
      c[c.InvalidCardnumber = -2] = "InvalidCardnumber";
      c[c.Success = 0] = "Success";
      c[c.InvalidRequest = 1000] = "InvalidRequest";
      c[c.WrongParameterFormat = 1002] = "WrongParameterFormat";
      c[c.CheckCodeErr = 1003] = "CheckCodeErr";
      c[c.InterfaceNotExist = 2000] = "InterfaceNotExist";
      c[c.ImageCodeNotMatch = 2101] = "ImageCodeNotMatch";
      c[c.UserLoginErr = 2102] = "UserLoginErr";
      c[c.CardNotExit = 2103] = "CardNotExit";
      c[c.CardOverdue = 2104] = "CardOverdue";
      c[c.CardUsedLimit = 2105] = "CardUsedLimit";
      c[c.CardDealed = 2106] = "CardDealed";
      c[c.CardFreeze = 2107] = "CardFreeze";
      c[c.CardReportLoss = 2108] = "CardReportLoss";
      c[c.Queued = 3000] = "Queued";
      c[c.FrequentRequest = 3001] = "FrequentRequest";
      c[c.TickOut = 3002] = "TickOut";
      c[c.EnQueue = 3003] = "EnQueue";
      c[c.EnQueueWithNumber = 3004] = "EnQueueWithNumber";
      c[c.PriceDifferent = 3005] = "PriceDifferent";
      c[c.PriceSucceed = 4000] = "PriceSucceed";
      c[c.AuctionFinished = 4001] = "AuctionFinished";
      c[c.NoChangeInFirstStep = 4002] = "NoChangeInFirstStep";
      c[c.NoFirstPriceInSecondStep = 4003] = "NoFirstPriceInSecondStep";
      c[c.ChangeLimit = 4004] = "ChangeLimit";
      c[c.PriceSame = 4005] = "PriceSame";
      c[c.NoAuction = 4006] = "NoAuction";
      c[c.AuctionNoStart = 4007] = "AuctionNoStart";
      c[c.ConnectSuccess = 4008] = "ConnectSuccess";
      c[c.QueueFull = 4009] = "QueueFull";
      c[c.GetImageCodeFailed = 4010] = "GetImageCodeFailed";
      c[c.PriceResultEmpty = 4011] = "PriceResultEmpty";
      c[c.AuctionFinishNotice = 4012] = "AuctionFinishNotice";
      c[c.AuctionNoStartNotice = 4013] = "AuctionNoStartNotice";
      c[c.FirstPriceNotInRange = 4014] = "FirstPriceNotInRange";
      c[c.ModifyPriceNotInRange = 4015] = "ModifyPriceNotInRange";
      c[c.EnQueueWithOrder = 4016] = "EnQueueWithOrder";
      c[c.TickOutByHeartbeatDelay = 4017] = "TickOutByHeartbeatDelay";
      c[c.HighPrice = 4018] = "HighPrice";
      c[c.OverAuctionTime = 4019] = "OverAuctionTime";
      c[c.ImageNumberEmpty = 4020] = "ImageNumberEmpty";
      c[c.IdentityEmpty = 4021] = "IdentityEmpty";
      c[c.HeartbeatFrequent = 4022] = "HeartbeatFrequent";
      c[c.PriceMustBe100Times = 4023] = "PriceMustBe100Times";
      c[c.PriceMustBePositive = 4024] = "PriceMustBePositive";
      c[c.CardNumberMustbeSame = 4025] = "CardNumberMustbeSame";
      c[c.InvalidRequestId = 4026] = "InvalidRequestId";
      c[c.InvalidVersion = 4027] = "InvalidVersion";
      c[c.InvalidTimespan = 4028] = "InvalidTimespan";
      c[c.LessThanStartPrice = 4029] = "LessThanStartPrice";
      c[c.AuctionSuspend = 4030] = "AuctionSuspend";
      c[c.AuctionAbort = 4033] = "AuctionAbort";
      c[c.GetImageOutLimit = 4034] = "GetImageOutLimit";
      c[c.SystemErr = 5000] = "SystemErr";
    })(i || (i = {}));

    (function (c) {
      c.ENQUEUE = "enqueue";
      c.DEAL = "deal";
    })(u || (u = {}));

    (o || (o = {})).WEBBID = "webbid";
    if (!s) s = {};

    var j = e(17),
        C = e(306),
        T = e(307),
        k = e(19),
        I = e.n(k),
        O = function () {
      function c() {
        Object(C.a)(this, c);
      }

      Object(T.a)(c, null, [{
        key: "init",
        value: function () {
          this.networkIsConnected = !0;
          this.myBidRefreshLimit = 5;
          this.loginCaptureRefreshTime = 2;
          this.priceShowingTips = 200000;
          this.LoginCaptchaType = "slip";
          this.LoginCaptchaAppid = "26CC454B171227E91A457F55BCE4404F";
          this.getNetWorkStatus();
          this.getNaviBarHeight();
          window.app_listener = {};

          window.app_listener.networkchanged = function (c) {};
        }
      }, {
        key: "getNetWorkStatus",
        value: function () {
          var c = this;
          if (window.edupai_app && window.edupai_app.getNetWorkStatus) window.edupai_app.getNetWorkStatus({
            success: function (A) {
              if ("offline" === A.netWorkStatus.trim().toLowerCase() || "unknown" === A.netWorkStatus.trim().toLowerCase()) c.networkIsConnected = !1;else c.networkIsConnected = !0;
            }
          });
        }
      }, {
        key: "getNaviBarHeight",
        value: function () {
          if (window.edupai_app && window.edupai_app.naviBarHeight) window.edupai_app.naviBarHeight({
            success: function (A) {
              c.naviBarHeight = parseInt(A) / window.devicePixelRatio - 12;
            }
          });
        }
      }, {
        key: "protocalConfirmPadBt",
        value: function () {
          if (c.IsAndroid()) {
            var A = parseInt(I()("body").css("font-size").replace("px", "")),
                e = 0;
            "0.15rem".indexOf("px") > -1 ? e = parseFloat("0.15rem".replace("px", "")) : "0.15rem".indexOf("rem") > -1 && (e = parseFloat("0.15rem".replace("rem", "")) * A);
            return e + c.naviBarHeight + "px";
          }

          return "0.15rem";
        }
      }, {
        key: "priceBtnPadBt",
        value: function () {
          var A = parseInt(I()("body").css("font-size").replace("px", "")),
              e = 0;
          "0.2rem".indexOf("px") > -1 ? e = parseFloat("0.2rem".replace("px", "")) : "0.2rem".indexOf("rem") > -1 && (e = parseFloat("0.2rem".replace("rem", "")) * A);
          if (c.IsAndroid()) return e + c.naviBarHeight + "px";

          if (c.IsIos() && window.edupai_app && window.edupai_app.device_info) {
            var v = window.edupai_app.device_info;
            if (window.edupai_app.device_info && v.deviceType && (v.deviceType.indexOf("iPhone10,3") > -1 || v.deviceType.indexOf("iPhone10,6") > -1)) return e + 24 + "px";
          }

          return "0.2rem";
        }
      }, {
        key: "queryParams",
        value: function (c) {
          var A = new RegExp("(^|&)" + c + "=([^&]*)(&|$)"),
              e = window.location.search.substr(1).match(A);
          return null != e ? unescape(e[2]).split("?")[0] : "";
        }
      }, {
        key: "queryAucType",
        value: function (c) {
          var A = new RegExp("(^|&)" + c + "=([^&]*)(&|$)"),
              e = window.location.search.substr(1).match(A);

          if (null != e) {
            var v = unescape(e[2]).split("?");
            return v[0] === n.INDIVIDUAL.toLowerCase() || v[0] === n.CORPORATE.toLowerCase() ? v[0].toLowerCase() : n.CORPORATE.toLowerCase();
          }

          return n.CORPORATE.toLowerCase();
        }
      }, {
        key: "getDialogTop",
        value: function () {
          var c = window.innerHeight,
              A = document.documentElement.clientHeight || document.body.clientHeight;
          return c >= A ? (0.5 * c + (document.documentElement.scrollTop || document.body.scrollTop)).toString() + "px" : (c + (document.documentElement.scrollTop || document.body.scrollTop) - 0.5 * A).toString() + "px";
        }
      }, {
        key: "getPageHeight",
        value: function () {
          return (window.innerHeight + (document.documentElement.scrollTop || document.body.scrollTop)).toString() + "px";
        }
      }, {
        key: "getProtocalHeight",
        value: function () {
          return window.screen.height.toString() + "px";
        }
      }, {
        key: "getScreenHeight",
        value: function () {
          return window.screen.height.toString() + "px";
        }
      }, {
        key: "getScreenAvailHeight",
        value: function () {
          if (window.edupai_app && window.edupai_app.device_info) {
            var c = window.edupai_app.device_info;
            if (window.edupai_app.device_info && c.deviceType && (c.deviceType.indexOf("iPhone10,3") > -1 || c.deviceType.indexOf("iPhone10,6") > -1)) return window.screen.height - 88 + "px";
          }

          return (window.screen.height - 64).toString() + "px";
        }
      }, {
        key: "initScreenAvailHeight",
        value: function () {
          if (window.edupai_app && window.edupai_app.device_info) {
            var c = window.edupai_app.device_info;
            if (window.edupai_app.device_info && c.deviceType && (c.deviceType.indexOf("iPhone10,3") > -1 || c.deviceType.indexOf("iPhone10,6") > -1)) return window.screen.height - 88 + "px";
          }

          return (window.screen.height - 64).toString() + "px";
        }
      }, {
        key: "formatYYYYMDHmssTime",
        value: function (c) {
          var A = this.intlFormatToParts11(c),
              e = Object(j.a)(A, 11),
              v = e[0].value,
              t = e[2].value,
              a = e[4].value,
              n = e[6].value,
              l = e[8].value,
              r = e[10].value;
          return "".concat(a, "-").concat(v, "-").concat(t, " ").concat(n, ":").concat(l, ":").concat(r);
        }
      }, {
        key: "formatYYYYMDHmssDt",
        value: function (c) {
          var A = this.intlFormatToParts(c),
              e = Object(j.a)(A, 11),
              v = e[0].value,
              t = e[2].value,
              a = e[4].value,
              n = e[6].value,
              l = e[8].value,
              r = e[10].value;
          return "".concat(a, "/").concat(v, "/").concat(t, " ").concat(n, ":").concat(l, ":").concat(r);
        }
      }, {
        key: "GetAlertId",
        value: function () {
          return new Date().getHours().toString() + new Date().getMinutes().toString() + new Date().getSeconds().toString();
        }
      }, {
        key: "DisableTouch",
        value: function () {
          document.addEventListener("touchmove", c.TouchPreHandler, {
            passive: !1
          });
        }
      }, {
        key: "EnbleTouch",
        value: function () {
          document.removeEventListener("touchmove", c.TouchPreHandler);
        }
      }, {
        key: "DisablePCScroll",
        value: function () {
          document.getElementsByTagName("html")[0].style.overflow = "hidden";
          document.getElementsByTagName("html")[0].style.height = "100%";
        }
      }, {
        key: "EnblePCScroll",
        value: function () {
          document.getElementsByTagName("html")[0].style.overflow = "auto";
          document.getElementsByTagName("html")[0].style.height = "100%";
        }
      }, {
        key: "TouchPreHandler",
        value: function (c) {
          c.preventDefault();
        }
      }, {
        key: "GetDeviceInfo",
        value: function () {
          return window.edupai_app && window.edupai_app.device_info ? window.edupai_app.device_info : null;
        }
      }, {
        key: "GetDeviceType",
        value: function () {
          console.log(navigator.userAgent);
          return window.edupai_app && window.edupai_app.device_info ? "app/mobile" : "web";
        }
      }, {
        key: "IsApp",
        value: function () {
          return !!window.edupai_app;
        }
      }, {
        key: "IsAndroid",
        value: function () {
          return !!navigator.userAgent.match(/Android/i);
        }
      }, {
        key: "IsIos",
        value: function () {
          return !!/iPhone|iPad|iPod|Macintosh/i.test(navigator.userAgent);
        }
      }, {
        key: "ResizePosition",
        value: function () {
          document.getElementsByTagName("input")[0].focus();
          document.body.scrollTop = document.body.scrollHeight + 100;
          document.getElementsByClassName("secpro-biddingdialog")[0].style.bottom = 0;
        }
      }, {
        key: "ClosePage",
        value: function () {
          if (window.edupai_app && window.edupai_app.closePage) window.edupai_app.closePage();else if (navigator.userAgent.indexOf("MSIE") > 0) {
            if (navigator.userAgent.indexOf("MSIE 6.0") > 0) {
              window.opener = null;
              window.close();
            } else {
              window.open("", "_top");
              window.top.close();
            }
          } else if (navigator.userAgent.indexOf("Firefox") > 0 || navigator.userAgent.indexOf("Chrome") > 0) {
            window.location.href = "about:blank";
            window.close();
          } else {
            window.opener = null;
            window.open("", "_self");
            window.close();
          }
        }
      }, {
        key: "ResizePriceCaptcha",
        value: function (c) {
          var A = I()("." + c).width(),
              e = I()("." + c).height();
          if (void 0 !== A && void 0 !== e && A / e > 2) I()("." + c).css("width", "80%");
        }
      }, {
        key: "LoseFocus",
        value: function (c) {}
      }, {
        key: "ScrollIntoView",
        value: function (A) {
          try {
            if (I()("." + A)) {
              var e = I()("." + A).offset().top;
              if (c.IsIos()) I()("html,body").animate({
                scrollTop: e - 88 > 0 ? e - 88 : e
              }, "fast", "swing", function () {});else I()("html,body").animate({
                scrollTop: e
              }, "fast", "swing", function () {});
              c.needScroll = !1;
            }
          } catch (c) {}
        }
      }, {
        key: "IsPC",
        value: function () {
          return !window.edupai_app || !window.edupai_app.device_info;
        }
      }, {
        key: "ResizeWebPage",
        value: function () {
          if (c.IsPC() && (I()(window).height() < 900 || I()(window).width() < 1280)) {
            I()(".wbody").css("padding-top", "6px");
            I()(".wdialog").css("top", "92px");
            I()(".webmask").css("height", I()(window).height());
          }
        }
      }, {
        key: "ClearSession",
        value: function () {
          window.sessionStorage.removeItem("hasClickeSetPrice");
          window.sessionStorage.removeItem("hasSecClickeSetPrice");
          window.sessionStorage.removeItem("hasRefreshCaptcha");
          window.sessionStorage.removeItem("hasQueryPrice");
          window.sessionStorage.removeItem("hasSetPrice");
        }
      }, {
        key: "SupportWebSocket",
        value: function () {
          return !(!window.WebSocket || !window.WebSocket.prototype.send);
        }
      }, {
        key: "TestBrower",
        value: function () {
          var A = navigator.userAgent.toLowerCase(),
              e = A.match(/edge\/([\d.]+)/);

          if (e) {
            var v = e[1].split(".");
            return c.isMac() ? {
              support: !1,
              version: v[0],
              browerCore: "edge"
            } : {
              support: !0,
              version: v[0],
              browerCore: "edge"
            };
          }

          if (e = A.match(/rv:([\d.]+)\) like gecko/)) {
            var t = e[1].split(".");
            return c.isMac() ? {
              support: !1,
              version: t[0],
              browerCore: "ie"
            } : {
              support: !0,
              version: t[0],
              browerCore: "ie"
            };
          }

          if (e = A.match(/msie ([\d.]+)/)) {
            var a = e[1].split(".");
            return c.isMac() ? {
              support: !1,
              version: a[0],
              browerCore: "ie"
            } : {
              support: parseInt(a[0]) >= 11,
              version: a[0],
              browerCore: "ie"
            };
          }

          if (e = A.match(/firefox\/([\d.]+)/)) {
            var n = e[1].split(".");
            return c.isMac() ? {
              support: !1,
              version: n[0],
              browerCore: "firefox"
            } : {
              support: parseInt(n[0]) >= 80,
              version: n[0],
              browerCore: "firefox"
            };
          }

          if (e = A.match(/chrome\/([\d.]+)/)) {
            var l = e[1].split(".");
            return A.indexOf("edg") > -1 ? {
              support: !0,
              version: "",
              browerCore: "edge"
            } : {
              support: !1,
              version: l[0],
              browerCore: "chrome"
            };
          }

          return (e = A.match(/opera.([\d.]+)/)) ? {
            support: !1,
            version: e[1].split(".")[0],
            browerCore: "opera"
          } : (e = A.match(/version\/([\d.]+).*safari/)) ? c.isMac() ? {
            support: parseFloat(e[1].toString()) >= 13.1,
            version: e[1],
            browerCore: "safari"
          } : {
            support: !1,
            version: e[1],
            browerCore: "safari"
          } : {
            support: !1,
            version: "",
            browerCore: "未知"
          };
        }
      }, {
        key: "formatYYYYMDHmssTimeZH",
        value: function (c) {
          var A = this.intlFormatToParts11(c),
              e = Object(j.a)(A, 11),
              v = e[0].value,
              t = e[2].value,
              a = e[4].value,
              n = e[6].value,
              l = e[8].value,
              r = e[10].value;
          return "".concat(a, "年").concat(v, "月").concat(t, "日").concat(n, "时").concat(l, "分").concat(r, "秒");
        }
      }, {
        key: "formatHHmmssTime",
        value: function (c) {
          var A = this.intlFormatToParts5(c),
              e = Object(j.a)(A, 5),
              v = e[0].value,
              t = e[2].value,
              a = e[4].value;
          return "".concat(v, ":").concat(t, ":").concat(a);
        }
      }, {
        key: "formatHHmmTime",
        value: function (c) {
          var A = this.intlFormatToParts3(c),
              e = Object(j.a)(A, 3),
              v = e[0].value,
              t = e[2].value;
          return "".concat(v, ":").concat(t);
        }
      }, {
        key: "getPhaseName",
        value: function (c) {
          switch (c) {
            case r.FIRST_BID:
              return "首次出价时段";

            case r.CHANGE_BID:
              return "修改出价时段";

            default:
              return c;
          }
        }
      }, {
        key: "formatYYYYMDHmssTimeEN",
        value: function (c) {
          var A = this.intlFormatToParts11(c),
              e = Object(j.a)(A, 11),
              v = e[0].value,
              t = e[2].value,
              a = e[4].value,
              n = e[6].value,
              l = e[8].value,
              r = e[10].value;
          return "".concat(a, "-").concat(v, "-").concat(t, " ").concat(n, ":").concat(l, ":").concat(r);
        }
      }, {
        key: "intlFormatToParts11",
        value: function (c) {
          var A = new Intl.DateTimeFormat("en-US", {
            year: "numeric",
            month: "numeric",
            day: "numeric",
            hour: "numeric",
            minute: "numeric",
            second: "numeric",
            hour12: !1
          }).format(c),
              e = new Array(),
              v = "",
              t = "";

          if (A.indexOf(",") > -1) {
            v = A.split(",")[0].trim();
            t = A.split(",")[1].trim();
          } else {
            v = A.replace(" ", ",").split(",")[0];
            t = A.replace(" ", ",").split(",")[1];
          }

          var a = v.split("/"),
              n = t.split(":");
          e.push({
            type: "month",
            value: a[0]
          });
          e.push({
            type: "literal",
            value: "/"
          });
          e.push({
            type: "day",
            value: a[1]
          });
          e.push({
            type: "literal",
            value: "/"
          });
          e.push({
            type: "year",
            value: a[2]
          });
          e.push({
            type: "literal",
            value: ","
          });
          e.push({
            type: "hour",
            value: n[0]
          });
          e.push({
            type: "literal",
            value: ":"
          });
          e.push({
            type: "minute",
            value: n[1]
          });
          e.push({
            type: "literal",
            value: ":"
          });
          e.push({
            type: "second",
            value: n[2]
          });
          return e;
        }
      }, {
        key: "intlFormatToParts7",
        value: function (c) {
          var A = new Intl.DateTimeFormat("en-US", {
            month: "numeric",
            day: "numeric",
            hour: "numeric",
            minute: "numeric",
            hour12: !1
          }).format(c),
              e = new Array(),
              v = "",
              t = "";

          if (A.indexOf(",") > -1) {
            v = A.split(",")[0].trim();
            t = A.split(",")[1].trim();
          } else {
            v = A.replace(" ", ",").split(",")[0];
            t = A.replace(" ", ",").split(",")[1];
          }

          var a = v.split("/"),
              n = t.split(":");
          e.push({
            type: "month",
            value: a[0]
          });
          e.push({
            type: "literal",
            value: "/"
          });
          e.push({
            type: "day",
            value: a[1]
          });
          e.push({
            type: "literal",
            value: ","
          });
          e.push({
            type: "hour",
            value: n[0]
          });
          e.push({
            type: "literal",
            value: ":"
          });
          e.push({
            type: "minute",
            value: n[1]
          });
          return e;
        }
      }, {
        key: "intlFormatToParts5",
        value: function (c) {
          var A = new Intl.DateTimeFormat("en-US", {
            hour: "numeric",
            minute: "numeric",
            second: "numeric",
            hour12: !1
          }).format(c),
              e = new Array(),
              v = A.split(":");
          e.push({
            type: "hour",
            value: v[0]
          });
          e.push({
            type: "literal",
            value: ":"
          });
          e.push({
            type: "minute",
            value: v[1]
          });
          e.push({
            type: "literal",
            value: ":"
          });
          e.push({
            type: "second",
            value: v[2]
          });
          return e;
        }
      }, {
        key: "intlFormatToParts3",
        value: function (c) {
          var A = new Intl.DateTimeFormat("en-US", {
            hour: "numeric",
            minute: "numeric",
            hour12: !1
          }).format(c),
              e = new Array(),
              v = A.split(":");
          e.push({
            type: "hour",
            value: v[0]
          });
          e.push({
            type: "literal",
            value: ":"
          });
          e.push({
            type: "minute",
            value: v[1]
          });
          return e;
        }
      }, {
        key: "intlFormatToParts",
        value: function (c) {
          var A = new Intl.DateTimeFormat("en-US", {
            year: "numeric",
            month: "numeric",
            day: "numeric",
            hour: "numeric",
            minute: "numeric",
            second: "numeric",
            hour12: !1
          }).format(c),
              e = new Array(),
              v = "",
              t = "";

          if (A.indexOf(",") > -1) {
            v = A.split(",")[0].trim();
            t = A.split(",")[1].trim();
          } else {
            v = A.replace(" ", ",").split(",")[0];
            t = A.replace(" ", ",").split(",")[1];
          }

          var a = v.split("/"),
              n = t.split(":");
          e.push({
            type: "month",
            value: a[0]
          });
          e.push({
            type: "literal",
            value: "/"
          });
          e.push({
            type: "day",
            value: a[1]
          });
          e.push({
            type: "literal",
            value: "/"
          });
          e.push({
            type: "year",
            value: a[2]
          });
          e.push({
            type: "literal",
            value: ","
          });
          e.push({
            type: "hour",
            value: n[0]
          });
          e.push({
            type: "literal",
            value: ":"
          });
          e.push({
            type: "minute",
            value: n[1]
          });
          e.push({
            type: "literal",
            value: ":"
          });
          e.push({
            type: "second",
            value: n[2]
          });
          return e;
        }
      }, {
        key: "checkHasRefreshLoginCaptcha",
        value: function () {
          var c = sessionStorage.getItem("hasRefreshLoginCaptcha");
          return null !== c && "" !== c;
        }
      }, {
        key: "setHasRefreshLoginCaptcha",
        value: function () {
          sessionStorage.setItem("hasRefreshLoginCaptcha", "true");
          setTimeout(function () {
            sessionStorage.removeItem("hasRefreshLoginCaptcha");
          }, 2000);
        }
      }, {
        key: "clearRefreshLoginCaptcha",
        value: function () {
          sessionStorage.removeItem("hasRefreshLoginCaptcha");
        }
      }, {
        key: "refreshLoginCaptcha",
        value: function () {
          c.captchaObj.refresh();
        }
      }, {
        key: "showConnectErrorFun",
        value: function () {
          c.showConnectError = !1;
          setTimeout(function () {
            c.showConnectError = !0;
          }, 1000);
        }
      }, {
        key: "checkLastestPage",
        value: function (A) {
          var e = c.getCookie(A);
          return null === e || void 0 === e || "" === e || c.lastestPageVersion >= Number.parseInt(e);
        }
      }, {
        key: "setLastestPage",
        value: function (A) {
          var e = new Date().getTime();
          c.lastestPageVersion = e;
          c.setCookie(A, c.lastestPageVersion.toString(), 1);
        }
      }, {
        key: "setCookie",
        value: function (c, A, e) {
          var v = new Date();
          v.setDate(v.getDate() + e);
          document.cookie = c + "=" + escape(A);
        }
      }, {
        key: "getCookie",
        value: function (c) {
          if (document.cookie.length > 0) {
            var A = document.cookie.indexOf(c + "=");

            if (-1 !== A) {
              A = A + c.length + 1;
              var e = document.cookie.indexOf(";", A);
              if (-1 === e) e = document.cookie.length;
              return unescape(document.cookie.substring(A, e));
            }
          }

          return "";
        }
      }, {
        key: "checkCookie",
        value: function (A) {
          var e = c.getCookie(A);
          return null !== e && "" !== e;
        }
      }, {
        key: "clearCookie",
        value: function (A) {
          c.setCookie(A, "", -1);
        }
      }, {
        key: "isMac",
        value: function () {
          return /macintosh|mac os x/i.test(navigator.userAgent);
        }
      }, {
        key: "isWindows",
        value: function () {
          return /windows|win32/i.test(navigator.userAgent);
        }
      }, {
        key: "getWssEndPointsUrl",
        value: function (c) {
          try {
            if ("https:" === window.location.protocol && c.length > 0) {
              for (var A = "", e = 0; e < c.length; e++) A += c[e] + "|";

              return A.substring(0, "" === A ? 0 : A.length - 2);
            }
          } catch (c) {}

          var v = "https:" === window.location.protocol ? "wss:" : "ws:",
              t = window.location.host;
          return "".concat(v, "//").concat(t, "/messages");
        }
      }, {
        key: "getCurSocketUrl",
        value: function (A) {
          try {
            if ("https:" === window.location.protocol && A.length > 0) {
              var e = c.curSocketUrlNumber % A.length;
              c.curSocketUrlNumber = c.curSocketUrlNumber + 1;
              return A[e];
            }
          } catch (c) {}

          var v = "https:" === window.location.protocol ? "wss:" : "ws:",
              t = window.location.host;
          return "".concat(v, "//").concat(t, "/messages");
        }
      }, {
        key: "formatZero",
        value: function (c, A) {
          var e = c.getMilliseconds().toString();
          return e.length > A ? e : (Array(A).join("0") + e).slice(-A);
        }
      }]);
      return c;
    }();

    O.LoginCaptchaType = void 0;
    O.LoginCaptchaAppid = void 0;
    O.LoginCaptchaServer = void 0;
    O.networkIsConnected = void 0;
    O.myBidRefreshLimit = void 0;
    O.loginCaptureRefreshTime = void 0;
    O.currentBodyScroll = 0;
    O.appKeyBoardHeight = 0;
    O.naviBarHeight = 0;
    O.timeoutTime = O.IsAndroid() ? 500 : 100;
    O.captchaObj = void 0;
    O.needScroll = void 0;
    O.isLoggingOut = void 0;
    O.showConnectError = void 0;
    O.lastestPageVersion = void 0;
    O.hasSecClickeSetPrice = void 0;
    O.hasSecClickeSetPriceHandler = void 0;
    O.hasClickeSetPrice = void 0;
    O.hasClickeSetPriceHandler = void 0;
    O.hasSetPrice = void 0;
    O.hasSetPriceHandler = void 0;
    O.hasQueryPrice = void 0;
    O.hasQueryPriceHandler = void 0;
    O.curSocketUrlNumber = void 0;
    O.curBidNumber = void 0;
    O.storageChangeHandler = void 0;
    O.priceShowingTips = void 0;
    var U = {
      auctionType: null,
      appName: S(null),
      needAgreeNotice: !0,
      dialogTop: "",
      pageParams: "",
      protocalConfirmPadBt: "",
      doCompatibilityTest: !0,
      webBodyDialogCount: 0,
      webBidDialogCount: 0,
      wssEndPoints: []
    };

    function S(c) {
      switch (c) {
        case n.INDIVIDUAL:
          return "个人客车额度拍卖";

        case n.CORPORATE:
          return "单位客车额度拍卖";

        default:
          return "";
      }
    }

    var P,
        D = Object(B.b)({
      name: "system",
      initialState: U,
      reducers: {
        updateAuctionType: function (c, A) {
          if (A.payload.toLowerCase() === n.INDIVIDUAL.toLowerCase()) c.auctionType = n.INDIVIDUAL;else if (A.payload.toLowerCase() === n.CORPORATE.toLowerCase()) c.auctionType = n.CORPORATE;
          c.appName = S(c.auctionType);
          if (O.IsPC()) c.needAgreeNotice = !1;else c.needAgreeNotice = !0;
        },
        updateAgreeNoticeStatus: function (c, A) {
          c.needAgreeNotice = A.payload;
        },
        updateDialogTop: function (c, A) {
          c.dialogTop = A.payload;
        },
        updateProtocalConfirmPadBt: function (c) {
          c.protocalConfirmPadBt = O.protocalConfirmPadBt();
        },
        updateCompatibilityTestStatus: function (c, A) {
          c.doCompatibilityTest = A.payload;
        },
        incrementWebBodyDialogCount: function (c) {
          c.webBodyDialogCount += 1;
        },
        decrementWebBodyDialogCount: function (c) {
          c.webBodyDialogCount -= 1;
        },
        incrementWebBidDialogCount: function (c) {
          c.webBidDialogCount += 1;
        },
        decrementWebBidDialogCount: function (c) {
          c.webBidDialogCount -= 1;
        },
        initWebBidDialogCount: function (c) {
          c.webBidDialogCount = 0;
        },
        updateWssEndpoints: function (c, A) {
          c.wssEndPoints = A.payload;
        }
      }
    }),
        x = D.actions,
        F = (x.initWebBidDialogCount, x.updateAuctionType),
        q = x.updateAgreeNoticeStatus,
        R = x.updateDialogTop,
        W = x.updateWssEndpoints,
        G = (x.updateProtocalConfirmPadBt, x.updateCompatibilityTestStatus),
        J = x.incrementWebBodyDialogCount,
        _ = x.decrementWebBodyDialogCount,
        L = x.incrementWebBidDialogCount,
        H = x.decrementWebBidDialogCount,
        X = function (c) {
      return c.system.needAgreeNotice;
    },
        M = function (c) {
      return c.system.auctionType;
    },
        K = function (c) {
      return c.system.doCompatibilityTest;
    },
        z = function (c) {
      return c.system.webBodyDialogCount;
    },
        V = function (c) {
      return c.system.webBidDialogCount;
    },
        Y = D.reducer,
        Q = e(159),
        Z = window.localStorage.getItem("user"),
        cc = window.localStorage.getItem("userExpireTime"),
        $ = Z && null !== cc && new Date(cc) > new Date() ? JSON.parse(Z) : null,
        Ac = $ ? {
      loggingIn: !1,
      loggedIn: !0,
      user: $,
      tokenId: null === (P = window.localStorage.getItem("user")) || void 0 === P ? void 0 : P.toString()
    } : {
      loggingIn: !1,
      loggedIn: !1,
      user: null,
      tokenId: ""
    },
        _c = Object(B.b)({
      name: "authentication",
      initialState: Ac,
      reducers: {
        setLoginRequest: function (c) {
          c.loggingIn = !0;
          c.loggedIn = !1;
          c.user = null;
        },
        setLoginSuccess: function (c, A) {
          c.loggingIn = !1;
          c.loggedIn = !0;
          c.user = A.payload;
          window.sessionStorage.removeItem("firstBrower");
          window.sessionStorage.removeItem("hasClickeSetPrice");
          window.sessionStorage.removeItem("hasRefreshCaptcha");
          window.sessionStorage.removeItem("hasQueryPrice");
        },
        setLoginFailure: function (c, A) {
          c.loggingIn = !1;
          c.loggedIn = !1;
          c.user = null;
        },
        setLogout: function (c) {
          if (null !== window.localStorage.getItem("user")) try {
            var t = JSON.parse(window.localStorage.getItem("user")),
                a = Q.decode(t.access_token);
            window.localStorage.setItem("tokenId", a.jti);
          } catch (c) {
            console.log("set tokenId error");
          }
          window.localStorage.removeItem("user");
          O.ClearSession();
          c.loggingIn = !1;
          c.loggedIn = !1;
          c.user = null;
        },
        clearLoginPage: function (c) {
          if (null !== window.localStorage.getItem("user")) try {
            var t = JSON.parse(window.localStorage.getItem("user")),
                a = Q.decode(t.access_token);
            window.localStorage.setItem("tokenId", a.jti);
          } catch (c) {
            console.log("set tokenId error");
          }
          c.loggingIn = !1;
          c.loggedIn = !1;
          c.user = null;

          if (O.IsApp()) {
            window.localStorage.removeItem("user");
            O.ClearSession();
          }
        },
        initLogginIn: function (c) {
          c.loggingIn = !1;
        }
      }
    }),
        $c = _c.actions,
        ec = $c.setLogout,
        vc = $c.setLoginRequest,
        tc = $c.setLoginSuccess,
        ac = $c.setLoginFailure,
        nc = $c.initLogginIn,
        lc = $c.clearLoginPage,
        rc = function (c) {
      return c.authentication.loggingIn;
    },
        ic = function (c) {
      return c.authentication.loggedIn;
    },
        uc = function (c) {
      return c.authentication.user;
    },
        oc = _c.reducer;

    function sc(c) {
      return c.match(/^\d{8}$/);
    }

    function mc(c) {
      return c.match(/^\d{4}$/);
    }

    var dc,
        fc = Object(B.b)({
      name: "login",
      initialState: {
        bidNumErrorMsg: "",
        pswErrorMsg: "",
        vercodeErrorMsg: "",
        bidNumTxt1: "",
        bidNumTxt2: "",
        bidNumTxt3: "",
        bidNumTxt4: "",
        bidNumTxt5: "",
        bidNumTxt6: "",
        bidNumTxt7: "",
        bidNumTxt8: "",
        idCardRequired: !1,
        idCardError: !1,
        needRereshCaptcha: !1,
        bidNum: "",
        psw: "",
        idCard: ""
      },
      reducers: {
        loginSuccess: function (c, A) {
          c.psw = "";
          O.hasSecClickeSetPrice = !1;
        },
        loginFailure: function (c, A) {
          c.needRereshCaptcha = !0;
        },
        logout: function (c) {
          c.idCardRequired = !1;
        },
        updateCaptcha: function (c, A) {
          if (c.captcha) {
            var a = c.captcha.url;
            URL.revokeObjectURL(a);
            console.debug("Revoked objectURL: " + a);
          }

          c.captcha = A.payload;
        },
        triggerBidNumPattern: function (c, A) {
          if (sc(A.payload)) c.bidNumErrorMsg = "";else c.bidNumErrorMsg = "" === A.payload ? "请输入投标号" : "请输入8位投标号";
        },
        triggerVercodePattern: function (c, A) {
          c.vercodeErrorMsg = "" === A.payload ? "请拖动滑块至正确位置" : "";
        },
        updateVercodeErrorMsg: function (c, A) {
          c.vercodeErrorMsg = A.payload;
        },
        triggerPswPattern: function (c, A) {
          if (mc(A.payload)) c.pswErrorMsg = "";else c.pswErrorMsg = "" === A.payload ? "请输入密码" : "请输入4位密码";
        },
        triggerIdCardPattern: function (c, A) {
          c.idCardError = "" === A.payload;
        },
        updateBidNumTxt: function (c, A) {
          c.bidNumTxt1 = A.payload.substring(0, 1);
          c.bidNumTxt2 = A.payload.substring(1, 2);
          c.bidNumTxt3 = A.payload.substring(2, 3);
          c.bidNumTxt4 = A.payload.substring(3, 4);
          c.bidNumTxt5 = A.payload.substring(4, 5);
          c.bidNumTxt6 = A.payload.substring(5, 6);
          c.bidNumTxt7 = A.payload.substring(6, 7);
          c.bidNumTxt8 = A.payload.substring(7, 8);
          c.bidNum = A.payload;
        },
        updatePswTxt: function (c, A) {
          c.psw = A.payload;
        },
        updateIdCardTxt: function (c, A) {
          c.idCard = A.payload;
        },
        requireIdCard: function (c, A) {
          c.idCardRequired = A.payload;
        },
        initCaptchaErrorMsg: function (c) {
          c.vercodeErrorMsg = "";
          c.needRereshCaptcha = !1;
        },
        clearAllTtl: function (c) {
          c.bidNumTxt1 = "";
          c.bidNumTxt2 = "";
          c.bidNumTxt3 = "";
          c.bidNumTxt4 = "";
          c.bidNumTxt5 = "";
          c.bidNumTxt6 = "";
          c.bidNumTxt7 = "";
          c.bidNumTxt8 = "";
          c.bidNum = "";
          c.bidNumErrorMsg = "";
          c.psw = "";
          c.pswErrorMsg = "";
          c.idCard = "";
          c.vercodeErrorMsg = "";
          c.needRereshCaptcha = !1;
        }
      }
    }),
        bc = fc.actions,
        Ec = bc.logout,
        pc = (bc.updateCaptcha, bc.loginSuccess),
        hc = bc.loginFailure,
        gc = bc.triggerBidNumPattern,
        wc = bc.triggerVercodePattern,
        yc = bc.triggerPswPattern,
        Bc = bc.updateBidNumTxt,
        Nc = bc.requireIdCard,
        jc = bc.triggerIdCardPattern,
        Cc = bc.initCaptchaErrorMsg,
        Tc = bc.updatePswTxt,
        kc = bc.updateIdCardTxt,
        Ic = (bc.clearAllTtl, bc.updateVercodeErrorMsg, function (c) {
      return c.login.idCardRequired;
    }),
        Oc = function (c) {
      return c.login.needRereshCaptcha;
    },
        Uc = function (c) {
      return c.login.bidNum;
    },
        Sc = function (c) {
      return c.login.psw;
    },
        Pc = function (c) {
      return c.login.idCard;
    },
        Dc = function (c) {
      return c.login.bidNumErrorMsg;
    },
        xc = function (c) {
      return c.login.pswErrorMsg;
    },
        Fc = function (c) {
      return c.login.vercodeErrorMsg;
    },
        qc = function (c) {
      return c.login.idCardError;
    },
        Rc = fc.reducer,
        Wc = Object(B.b)({
      name: "richAlert",
      initialState: {
        type: "",
        message: "",
        time: "",
        amount: "",
        curAlertId: ""
      },
      reducers: {
        success: function (c, A) {
          c.type = "alert-success";
          c.message = A.payload.message;
          c.time = A.payload.time;
          c.amount = A.payload.amount;
        },
        error: function (c, A) {
          c.type = "alert-danger";
          c.message = A.payload.message;
          c.time = A.payload.time;
          c.amount = A.payload.amount;
          c.sourceType = A.payload.sourceType;
        },
        errorWithAutoClose: function (c, A) {
          c.type = "alert-error";
          c.message = A.payload.message;
          c.time = A.payload.time;
          c.amount = A.payload.amount;
          c.curAlertId = A.payload.alertId;
          c.sourceType = A.payload.sourceType;
        },
        clear: function (c) {
          c.type = "";
          c.message = "";
          c.time = "";
          c.amount = "";
          c.curAlertId = "";
          c.sourceType = "";
        },
        autoClose: function (c, A) {
          if (c.curAlertId === A.payload) {
            c.type = "";
            c.message = "";
            c.time = "";
            c.amount = "";
            c.curAlertId = "";
            c.sourceType = "";
          }
        }
      }
    }),
        Gc = Wc.actions,
        Jc = (Gc.success, Gc.error, Gc.clear),
        Lc = Gc.autoClose,
        Hc = Gc.errorWithAutoClose,
        Xc = function (c) {
      return c.richAlert;
    },
        Mc = Wc.reducer,
        Kc = e(159),
        zc = null;

    function Vc() {
      var e = "https:" === window.location.protocol ? "wss:" : "ws:",
          v = window.location.host;
      return "".concat(e, "//").concat(v, "/messages");
    }

    !function (c) {
      c.BID = "Bid";
      c.FINISHED = "Finished";
      c.ISSUED = "Issued";
      c.TERMINATED = "Terminated";
      c.SUSPEND = "Suspend";
    }(dc || (dc = {}));

    var Yc = function (c) {
      return function () {
        var A = Object(y.a)(w.a.mark(function A(e) {
          var v;
          return w.a.wrap(function (A) {
            for (;;) switch (A.prev = A.next) {
              case 0:
                if (null != zc && zc.connected) {
                  A.next = 2;
                  break;
                }

                return A.abrupt("return");

              case 2:
                v = zc.subscribe("/app/mybid/auctions/" + c, function (c) {
                  v.unsubscribe();
                  e(kA(!1));
                  var A = JSON.parse(c.body);

                  if (null !== A && A.length > 0) {
                    var t = JSON.parse(c.body);

                    if (null !== t && t.length > 0) {
                      var a = t[0];
                      e(EA({
                        bidCount: a.bidCount,
                        dealTime: a.dealTime,
                        type: a.type,
                        bidAmount: a.bidAmount
                      }));
                      e(bA(!1));
                    } else e(EA({
                      bidCount: 0,
                      dealTime: "/",
                      type: "/",
                      bidAmount: 0
                    }));
                  } else e(EA({
                    bidCount: 0,
                    dealTime: "/",
                    type: "/",
                    bidAmount: 0
                  }));
                });

              case 3:
              case "end":
                return A.stop();
            }
          }, A);
        }));
        return function (c) {
          return A.apply(this, arguments);
        };
      }();
    },
        Qc = Object(B.b)({
      name: "bid",
      initialState: {
        connected: !1,
        connecting: !1,
        cardInfo: null,
        auction: null,
        auctionRealTime: null,
        lastBid: null,
        captcha: null,
        nextRequestId: 0,
        biddingState: null,
        dialogCount: 0,
        priceProcessPercent: 0,
        queryingPrice: !1,
        myBid: null,
        biddingResult: null,
        vercodeErrorMsg: !1,
        refreshTriggerHeight: "auto",
        queryingPriceVerify: 0,
        reconnectNum: 0,
        needConfirmLogOut: !1,
        showCardDetail: !0,
        captchaNetworkError: !1,
        auctionExists: -1,
        showPriceProcess: !1,
        queryPriceOften: !1,
        showPriceTip: 0
      },
      reducers: {
        connect: function (c) {
          c.connecting = !0;
          c.connected = !1;
        },
        connected: function (c) {
          c.connecting = !1;
          c.connected = !0;
          c.reconnectNum = 0;
        },
        disconnected: function (c) {
          c.connecting = !1;
          c.connected = !1;
          c.reconnectNum = c.reconnectNum + 1;
        },
        offline: function () {
          console.warn("offline");

          if (null != zc) {
            zc.deactivate();
            zc = null;
          }
        },
        incrementDialogCount: function (c) {
          c.dialogCount += 1;
          c.refreshTriggerHeight = 0;
        },
        decrementDialogCount: function (c) {
          c.dialogCount -= 1;
          c.refreshTriggerHeight = "auto";
        },
        updateCardInfo: function (c, A) {
          c.cardInfo = A.payload;
        },
        initCardInfo: function (c) {
          c.cardInfo = null;
        },
        updateAuction: function (c, A) {
          c.auction = A.payload;
          c.auctionRealTime = null;
        },
        clearAuction: function (c) {
          c.auction = null;
          c.auctionRealTime = null;
        },
        updateQuotation: function (c, A) {
          c.auctionRealTime = A.payload;
        },
        initBidding: function (c, A) {
          if (null != c.auction) c.biddingState = {
            auctionId: c.auction.id,
            amount: A.payload,
            requestId: null,
            enqueued: !1,
            dealed: !1,
            error: !1,
            alertPriceSuc: !1
          };
        },
        cancelBidding: function (c) {
          c.biddingState = null;
        },
        updateAlertPriceSuc: function (c) {
          if (null != c.biddingState) c.biddingState.alertPriceSuc = !0;
        },
        bidcaptcha: function (c, A) {
          if (null != zc && zc.connected) zc.publish({
            destination: "/app/bidcaptcha",
            body: JSON.stringify(A.payload),
            headers: {
              "content-type": "application/json"
            }
          });
        },
        bid: function (c, A) {
          if (null != c.biddingState && null != zc && zc.connected) {
            var a = String(c.nextRequestId++);
            c.biddingState.requestId = a;
            zc.publish({
              destination: "/app/bid",
              body: JSON.stringify(A.payload),
              headers: {
                "request-id": a,
                "content-type": "application/json"
              }
            });
          }
        },
        updateBid: function (c, A) {
          c.lastBid = A.payload;

          if (null != c.biddingState && c.biddingState.auctionId === A.payload.auctionId && c.biddingState.requestId === A.payload.requestId) {
            if ("enqueue" === A.payload.type && 0 === A.payload.code) {
              c.biddingState.enqueued = !0;
              if (!c.biddingState.error) c.biddingState.error = !1;
            } else if ("deal" === A.payload.type && 0 === A.payload.code) {
              c.biddingState.dealed = !0;
              c.biddingState.error = !1;
              c.showPriceTip = -1;
            } else c.biddingState.error = !0;

            if ("deal" === A.payload.type) c.biddingState.enqueued = !0;
            if (!c.biddingState.enqueued || c.biddingState.dealed || c.biddingState.error) c.showPriceProcess = !1;else c.showPriceProcess = !0;
          }
        },
        updateBidCaptcha: function (c, A) {
          if (null != c.captcha) {
            var n = c.captcha.imageUrl;
            URL.revokeObjectURL(n);
            console.debug("Revoked objectURL: " + n);
          }

          c.captcha = A.payload;
        },
        cleanBidCaptcha: function (c) {
          if (null != c.captcha) {
            var t = c.captcha.imageUrl;
            URL.revokeObjectURL(t);
            c.captcha = null;
          }
        },
        updatePriceProcessPercent: function (c, A) {
          c.priceProcessPercent = A.payload;
        },
        updateQueryingPriceStatus: function (c, A) {
          c.queryingPrice = A.payload;
        },
        updateMyBid: function (c, A) {
          c.myBid = A.payload;
        },
        updateBiddingResult: function (c, A) {
          c.biddingResult = A.payload;
        },
        initBiddingResult: function (c) {
          c.biddingResult = null;
        },
        udpateVercodeErrorMsg: function (c, A) {
          c.vercodeErrorMsg = A.payload;
        },
        disableRefresh: function (c, A) {
          if (A.payload) c.refreshTriggerHeight = 0;else c.refreshTriggerHeight = "auto";
        },
        updateQueryingPriceVerify: function (c, A) {
          c.queryingPriceVerify = A.payload;
        },
        clearReconnectNum: function (c) {
          c.reconnectNum = 0;
        },
        updateConfirmLogOutStatus: function (c, A) {
          c.needConfirmLogOut = A.payload;
        },
        updateShowCardDetailStatus: function (c, A) {
          c.showCardDetail = A.payload;
        },
        updateAuctionExists: function (c, A) {
          c.auctionExists = A.payload;
        },
        updateCaptchaErrorStatus: function (c, A) {
          c.captchaNetworkError = A.payload;
        },
        hidePriceProcessStatus: function (c) {
          c.showPriceProcess = !1;
        },
        updateQueryPriceOftenStatus: function (c, A) {
          c.queryPriceOften = A.payload;
        },
        updatePriceTipStatus: function (c, A) {
          if (-1 !== c.showPriceTip) c.showPriceTip = A.payload;
        },
        clearPriceTipStatus: function (c) {
          c.showPriceTip = 0;
        }
      }
    }),
        Zc = Qc.actions,
        cA = Zc.clearPriceTipStatus,
        AA = Zc.updatePriceTipStatus,
        _A = Zc.updateAlertPriceSuc,
        $A = Zc.updateBidCaptcha,
        eA = Zc.offline,
        vA = Zc.connected,
        tA = Zc.disconnected,
        aA = Zc.connect,
        nA = Zc.updateCardInfo,
        lA = Zc.updateAuction,
        rA = Zc.updateQuotation,
        iA = Zc.bid,
        uA = Zc.updateBid,
        oA = Zc.bidcaptcha,
        sA = Zc.cleanBidCaptcha,
        mA = Zc.initBidding,
        dA = Zc.cancelBidding,
        fA = (Zc.incrementDialogCount, Zc.decrementDialogCount, Zc.updatePriceProcessPercent),
        bA = Zc.updateQueryingPriceStatus,
        EA = Zc.updateMyBid,
        pA = Zc.updateBiddingResult,
        hA = Zc.initBiddingResult,
        gA = Zc.udpateVercodeErrorMsg,
        wA = Zc.disableRefresh,
        yA = Zc.updateQueryingPriceVerify,
        BA = Zc.updateConfirmLogOutStatus,
        NA = (Zc.updateShowCardDetailStatus, Zc.updateAuctionExists),
        jA = Zc.updateCaptchaErrorStatus,
        CA = Zc.clearReconnectNum,
        TA = Zc.hidePriceProcessStatus,
        kA = Zc.updateQueryPriceOftenStatus,
        IA = Zc.initCardInfo,
        OA = Zc.clearAuction,
        UA = function (c) {
      return c.bid.connected;
    },
        SA = function (c) {
      return c.bid.cardInfo;
    },
        PA = function (c) {
      return c.bid.auction;
    },
        DA = function (c) {
      return c.bid.lastBid;
    },
        xA = function (c) {
      return c.bid.captcha;
    },
        FA = function (c) {
      return c.bid.biddingState;
    },
        qA = function (c) {
      return c.bid.priceProcessPercent;
    },
        RA = function (c) {
      return c.bid.queryingPrice;
    },
        WA = function (c) {
      return c.bid.myBid;
    },
        GA = function (c) {
      return c.bid.biddingResult;
    },
        JA = function (c) {
      return c.bid.vercodeErrorMsg;
    },
        LA = function (c) {
      return c.bid.queryingPriceVerify;
    },
        HA = function (c) {
      return c.bid.reconnectNum;
    },
        XA = function (c) {
      return c.bid.needConfirmLogOut;
    },
        MA = function (c) {
      return c.bid.captchaNetworkError;
    },
        KA = function (c) {
      return c.bid.auctionExists;
    },
        zA = function (c) {
      return c.bid.showPriceProcess;
    },
        VA = function (c) {
      return c.bid.queryPriceOften;
    },
        YA = function (c) {
      return c.bid.showPriceTip;
    },
        QA = function (c) {
      var A,
          e,
          v,
          i = c.bid.auction,
          u = c.bid.auctionRealTime;
      if (null == i || null == u) return null;

      switch (A = function (c, A) {
        var e;

        switch (c.status) {
          case dc.BID:
            if (null == c.systemTime) throw new Error("systemTime should not be null.");
            var v = new Date(A.startTime),
                t = new Date(A.updateTime),
                a = new Date(A.endTime),
                n = new Date(c.systemTime);
            if (n.getTime() < v.getTime()) e = r.NOT_STARTED;else if (n.getTime() >= v.getTime() && n.getTime() < t.getTime()) e = r.FIRST_BID;else {
              if (!(n.getTime() >= t.getTime()) || !(n.getTime() < a.getTime())) throw new Error("At least, one of startTime, updateTime, endTime is wrong.");
              e = r.CHANGE_BID;
            }
            break;

          case dc.FINISHED:
            e = r.FINISHED;
            break;

          case dc.ISSUED:
            e = r.ISSUED;
            break;

          case dc.TERMINATED:
            e = r.TERMINATED;
            break;

          case dc.SUSPEND:
            e = r.SUSPEND;
        }

        return e;
      }(u, i)) {
        case r.FIRST_BID:
          e = i.lowerLimit;
          v = i.limitPrice;
          break;

        case r.CHANGE_BID:
          e = u.basePrice - i.priceDown;
          v = u.basePrice + i.priceUp;
          if (e < i.lowerLimit) e = i.lowerLimit;
          break;

        default:
          e = null;
          v = null;
      }

      return {
        id: i.id,
        type: i.type,
        name: i.name,
        startTime: new Date(i.startTime),
        updateTime: new Date(i.updateTime),
        endTime: new Date(i.endTime),
        quota: i.quota,
        limitPrice: i.limitPrice,
        lowerLimit: i.lowerLimit,
        priceUp: i.priceUp,
        priceDown: i.priceDown,
        status: A,
        systemTime: null != u.systemTime ? new Date(u.systemTime) : null,
        numberOfBidUsers: u.numberOfBidUsers,
        basePrice: u.basePrice,
        basePriceTime: null != u.basePriceTime ? new Date(u.basePriceTime) : null,
        content: u.content,
        additionalContent: u.additionalContent,
        priceLower: e,
        priceUpper: v
      };
    },
        ZA = function (c) {
      var A;
      return null === (A = QA(c)) || void 0 === A ? void 0 : A.id;
    },
        c_ = function (c) {
      var A;
      return null === (A = QA(c)) || void 0 === A ? void 0 : A.status;
    },
        A_ = Qc.reducer,
        __ = function () {
      return function () {
        var c = Object(y.a)(w.a.mark(function c(A) {
          return w.a.wrap(function (c) {
            for (;;) switch (c.prev = c.next) {
              case 0:
                A(r_());
                A(Jc());
                A(Ec());
                A(ec());
                A(BA(!1));
                A(q(!0));
                A(CA());
                A(dA());
                A(G(!0));
                O.showConnectError = !1;
                A(hA());
                A(IA());
                A(OA());
                A(cA());

              case 14:
              case "end":
                return c.stop();
            }
          }, c);
        }));
        return function (A) {
          return c.apply(this, arguments);
        };
      }();
    },
        $_ = function () {
      return function () {
        var c = Object(y.a)(w.a.mark(function c(A) {
          return w.a.wrap(function (c) {
            for (;;) switch (c.prev = c.next) {
              case 0:
                A(bA(!1));
                A(dA());
                A(BA(!1));
                A(hA());
                A(cA());

              case 5:
              case "end":
                return c.stop();
            }
          }, c);
        }));
        return function (A) {
          return c.apply(this, arguments);
        };
      }();
    },
        e_ = function () {
      return function () {
        var c = Object(y.a)(w.a.mark(function c(A) {
          return w.a.wrap(function (c) {
            for (;;) switch (c.prev = c.next) {
              case 0:
                A(r_());
                A(Jc());
                A(bA(!1));
                A(dA());
                A(BA(!1));
                A(cA());

              case 6:
              case "end":
                return c.stop();
            }
          }, c);
        }));
        return function (A) {
          return c.apply(this, arguments);
        };
      }();
    },
        v_ = function () {
      return function () {
        var c = Object(y.a)(w.a.mark(function c(A) {
          return w.a.wrap(function (c) {
            for (;;) switch (c.prev = c.next) {
              case 0:
                A(r_());
                A(Jc());
                A(bA(!1));
                A(dA());
                A(BA(!1));
                A(hA());
                A(cA());

              case 7:
              case "end":
                return c.stop();
            }
          }, c);
        }));
        return function (A) {
          return c.apply(this, arguments);
        };
      }();
    },
        t_ = Object(B.b)({
      name: "alert",
      initialState: {
        type: "",
        message: "",
        curAlertId: "",
        callbackFun: "",
        sourceType: "",
        hideConfirmbtn: !1
      },
      reducers: {
        success: function (c, A) {
          c.type = "alert-success";
          c.message = A.payload;
        },
        errorWithAutoClose: function (c, A) {
          c.type = "alert-danger";
          c.message = A.payload.message;
          c.curAlertId = A.payload.alertId;
          c.sourceType = A.payload.sourceType;
        },
        errorWithCallback: function (c, A) {
          c.type = "alert-danger";
          c.message = A.payload.message;
          c.callbackFun = A.payload.callbackFun;
          c.sourceType = A.payload.sourceType;
        },
        errorWithAutoCloseAndCallback: function (c, A) {
          c.type = "alert-danger";
          c.message = A.payload.message;
          c.curAlertId = A.payload.alertId;
          c.callbackFun = A.payload.callbackFun;
        },
        error: function (c, A) {
          c.type = "alert-danger";
          c.message = A.payload;
        },
        errorNoBtn: function (c, A) {
          c.type = "alert-danger";
          c.message = A.payload.message;
          c.hideConfirmbtn = A.payload.hideConfirmbtn;
        },
        webError: function (c, A) {
          c.type = "alert-danger";
          c.message = A.payload.message;
          c.sourceType = A.payload.sourceType;
        },
        autoClose: function (c, A) {
          if (c.curAlertId === A.payload) {
            c.type = "";
            c.message = "";
            c.curAlertId = "";
            c.sourceType = "";
          }
        },
        clear: function (c) {
          c.type = "";
          c.message = "";
          c.curAlertId = "";
          c.callbackFun = "";
          c.sourceType = "";
        },
        callbackFininshed: function (c) {
          c.callbackFun = "";
        },
        hideConfirmbtnFun: function (c) {
          c.hideConfirmbtn = !0;
        }
      }
    }),
        a_ = t_.actions,
        n_ = a_.errorNoBtn,
        l_ = (a_.success, a_.error),
        r_ = a_.clear,
        i_ = a_.autoClose,
        u_ = a_.errorWithAutoClose,
        o_ = a_.errorWithCallback,
        s_ = (a_.callbackFininshed, a_.errorWithAutoCloseAndCallback, a_.webError),
        m_ = function (c) {
      return c.alert;
    },
        d_ = t_.reducer,
        f_ = function (c) {
      return function () {
        var A = Object(y.a)(w.a.mark(function A(e) {
          return w.a.wrap(function (A) {
            for (;;) switch (A.prev = A.next) {
              case 0:
                setTimeout(function () {
                  O.EnbleTouch();
                  e(wA(!1));
                  e(i_(c));
                }, 15000);

              case 1:
              case "end":
                return A.stop();
            }
          }, A);
        }));
        return function (c) {
          return A.apply(this, arguments);
        };
      }();
    },
        b_ = function (c) {
      return function () {
        var A = Object(y.a)(w.a.mark(function A(e) {
          return w.a.wrap(function (A) {
            for (;;) switch (A.prev = A.next) {
              case 0:
                if ("logout" === c) e(__());else if ("firstbrower" === c) {
                  console.log("firstBrower", "false");
                  sessionStorage.setItem("firstBrower", "false");
                } else if ("closepage" === c) {
                  e(__());
                  O.ClosePage();
                }

              case 1:
              case "end":
                return A.stop();
            }
          }, A);
        }));
        return function (c) {
          return A.apply(this, arguments);
        };
      }();
    },
        E_ = function (c) {
      var A,
          t = Object(E.c)(ic),
          a = Object(E.c)(X) && !O.IsPC() ? "/protocal" : "/login";
      console.log("init PrivateRoute:" + c.location);
      return t ? d.a.createElement(h.b, c) : d.a.createElement(h.a, {
        to: {
          pathname: a,
          search: null === (A = c.location) || void 0 === A ? void 0 : A.search,
          state: {
            from: c.location
          }
        }
      });
    };

    function p_(c) {
      var v = Object(m.useState)(""),
          t = Object(j.a)(v, 2),
          a = t[0],
          n = t[1],
          l = Object(m.useState)(""),
          i = Object(j.a)(l, 2),
          u = i[0],
          s = i[1],
          f = Object(E.b)(),
          b = Object(E.c)(c_),
          p = Object(E.c)(KA),
          h = Object(E.c)(QA),
          g = Object(E.c)(YA);

      function w(A) {
        if (!p || b === r.NOT_STARTED) {
          var e = O.GetAlertId();
          f(u_({
            message: "没有正在举行的拍卖会，请注意拍卖公告！",
            alertId: e,
            sourceType: o.WEBBID
          }));
          return void f(f_(e));
        }

        var v = parseInt(A),
            t = 0 === g && h && v >= O.priceShowingTips;

        if (!t) {
          if (O.hasClickeSetPrice) return void f(s_({
            message: "你的操作过于频繁，请稍后再尝试",
            sourceType: o.WEBBID
          }));
          O.hasClickeSetPrice = !0;
          O.hasClickeSetPriceHandler = setTimeout(function () {
            O.hasClickeSetPrice = !1;
          }, 6000);
        }

        var a = parseInt(u);

        if (isNaN(v) || isNaN(a)) {
          var n = O.GetAlertId();
          f(u_({
            message: "输入价格不能为空",
            alertId: n,
            sourceType: o.WEBBID
          }));
          return void f(f_(n));
        }

        if (v <= 0 || v % 100 !== 0 || a <= 0 || a % 100 !== 0) {
          var l = O.GetAlertId();
          f(u_({
            message: "出价金额必须为100元的正整数倍",
            alertId: l,
            sourceType: o.WEBBID
          }));
          return void f(f_(l));
        }

        if (v !== a) {
          var i = O.GetAlertId();
          f(u_({
            message: "两次输入的出价金额不一致",
            alertId: i,
            sourceType: o.WEBBID
          }));
          return void f(f_(i));
        }

        if (t) {
          O.hasClickeSetPrice = !1;
          f(AA(1));
          return void clearTimeout(O.hasClickeSetPriceHandler);
        }

        !function (A) {
          if (O.networkIsConnected) {
            f(mA(A));
            f(oA({
              auctionId: c.auctionId,
              amount: A
            }));
          } else f(s_({
            message: "网络中断,请稍后重试！",
            sourceType: o.WEBBID
          }));
        }(v);
      }

      return d.a.createElement("div", {
        className: "whfirStatge"
      }, d.a.createElement("div", {
        className: "inputctl"
      }, d.a.createElement("div", null, d.a.createElement("span", null, "输入价格")), d.a.createElement("div", {
        className: "whinputbox"
      }, d.a.createElement("div", null, d.a.createElement("input", {
        type: "text",
        title: "",
        autoComplete: "off",
        pattern: "\\d{6}",
        maxLength: 6,
        inputMode: "numeric",
        className: "firstpro-input priceinput whfinput01",
        placeholder: "",
        onChange: function (c) {
          n(c.target.value.replace(/\D/g, ""));
        },
        value: a
      })))), d.a.createElement("div", {
        className: "inputctl"
      }, d.a.createElement("div", null, d.a.createElement("span", null, "再次输入价格")), d.a.createElement("div", {
        className: "whinputbox"
      }, d.a.createElement("div", {
        className: "hfcbox"
      }, " ", d.a.createElement("input", {
        title: "",
        type: "text",
        autoComplete: "off",
        pattern: "\\d{6}",
        maxLength: 6,
        inputMode: "numeric",
        className: "firstpro-input priceinput whfinput02",
        placeholder: "",
        onChange: function (c) {
          s(c.target.value.replace(/\D/g, ""));
        },
        value: u
      })), d.a.createElement("div", {
        className: "whfbtn",
        onClick: function () {
          w(a);
        }
      }, d.a.createElement("span", null, "出价")))));
    }

    function h_(c) {
      var v = c.amount,
          t = c.handleClickRaise;
      return d.a.createElement("div", {
        className: "whraiseitem"
      }, d.a.createElement("div", {
        className: "whritembtn " + (v > 0 ? "bluebg" : "graybg") + " whritembtn" + (v > 0 ? "add" + v : "sub" + -v),
        onClick: function () {
          t(v);
        }
      }, v > 0 ? "+" + v : v));
    }

    function g_(c) {
      var v = Object(m.useState)(""),
          t = Object(j.a)(v, 2),
          a = t[0],
          n = t[1],
          l = Object(m.useState)(""),
          r = Object(j.a)(l, 2),
          i = r[0],
          u = r[1],
          s = Object(E.c)(QA).basePrice,
          f = Object(E.b)(),
          b = Object(E.c)(QA);

      function p(c) {
        var A = s + c;
        n((A = A < 100 ? 100 : A).toString());
      }

      function h(A) {
        var e = parseInt(A);

        if (isNaN(e)) {
          var v = O.GetAlertId();
          f(u_({
            message: "输入价格不能为空",
            alertId: v,
            sourceType: o.WEBBID
          }));
          return void f(f_(v));
        }

        if (O.hasSecClickeSetPrice) f(s_({
          message: "你的操作过于频繁，请稍后再尝试",
          sourceType: o.WEBBID
        }));else {
          O.hasSecClickeSetPrice = !0;
          O.hasSecClickeSetPriceHandler = setTimeout(function () {
            O.hasSecClickeSetPrice = !1;
          }, 6000);

          if (e <= 0 || e % 100 !== 0) {
            var t = O.GetAlertId();
            f(u_({
              message: "出价金额必须为100元的正整数倍",
              alertId: t,
              sourceType: o.WEBBID
            }));
            return void f(f_(t));
          }

          !function (A) {
            if (O.networkIsConnected) {
              f(mA(A));
              f(oA({
                auctionId: c.auctionId,
                amount: A
              }));
            } else f(s_({
              message: "网络中断,请稍后重试！",
              sourceType: o.WEBBID
            }));
          }(e);
        }
      }

      return d.a.createElement("div", {
        className: "whsecpro-biddingdialog"
      }, null !== b && d.a.createElement("div", {
        className: "red lowprice"
      }, d.a.createElement("span", null, "目前最低可成交价：¥", b.basePrice)), d.a.createElement("div", {
        className: "whsecpro-content whpricecontent"
      }, d.a.createElement("div", {
        className: "whcusraise-box"
      }, d.a.createElement("div", {
        className: "whcusraisetip"
      }, d.a.createElement("span", null, "自定义加价幅度")), d.a.createElement("div", {
        className: "whcusraiseinput-box"
      }, d.a.createElement("div", {
        className: "whcusraiseinput-content"
      }, d.a.createElement("label", {
        className: "marleft5"
      }, "+"), d.a.createElement("input", {
        className: "whcusraiseinput whpriceinput",
        title: "",
        autoComplete: "off",
        pattern: "\\d{4}",
        maxLength: 4,
        inputMode: "numeric",
        onChange: function (c) {
          u(c.target.value.replace(/\D/g, ""));
        },
        value: i
      }))), d.a.createElement("div", {
        className: "whcusraisebtn-box"
      }, d.a.createElement("div", {
        className: "whcusraisebtn",
        onClick: function () {
          !function (c) {
            var A = parseInt("" === c ? "0" : c);

            if (A < 0 || A % 100 !== 0) {
              var e = O.GetAlertId();
              f(u_({
                message: "加价幅度必须为100元的整数倍",
                alertId: e,
                sourceType: o.WEBBID
              }));
              return void f(f_(e));
            }

            p(A);
          }(i);
        }
      }, d.a.createElement("span", null, "加价"))), d.a.createElement("div", {
        className: "clear"
      })), d.a.createElement("div", {
        className: "whraise-box"
      }, [-300, -200, -100, 100, 200, 300].map(function (c, A) {
        return d.a.createElement(h_, {
          key: A,
          amount: c,
          handleClickRaise: p
        });
      }), d.a.createElement("div", {
        className: "clear"
      })), d.a.createElement("div", {
        className: "whsetprice-box"
      }, d.a.createElement("div", {
        className: "whsetpricetip"
      }, d.a.createElement("span", null, "自行输入价格")), d.a.createElement("div", {
        className: "whsetpriceinput-box"
      }, d.a.createElement("div", {
        className: "whsetpriceinput-content"
      }, d.a.createElement("input", {
        type: "tel",
        title: "",
        autoComplete: "off",
        className: "whsetpriceinput whpriceinput",
        pattern: "\\d{6}",
        maxLength: 6,
        inputMode: "numeric",
        onChange: function (c) {
          n(c.target.value.replace(/\D/g, ""));
        },
        value: a
      }))), d.a.createElement("div", {
        className: "whsetpricebtn-box"
      }, d.a.createElement("div", {
        className: "whsetpricebtn",
        onClick: function () {
          return h(a);
        }
      }, d.a.createElement("span", null, "出价"))), d.a.createElement("div", {
        className: "clear"
      }))));
    }

    e(301);
    e(630);
    e(631);

    var B_ = function (c) {
      return c.auctionStatus === r.CHANGE_BID ? d.a.createElement(g_, c) : d.a.createElement(p_, c);
    };

    e(177);

    var k_ = function () {
      var e = Object(E.b)(),
          v = Object(E.c)(m_);
      Object(m.useEffect)(function () {
        e(L());
        return function () {
          e(H());
        };
      }, [e]);
      return d.a.createElement(d.a.Fragment, null, d.a.createElement("div", {
        className: "walert wbidalert"
      }, d.a.createElement("div", {
        className: "walerttitle"
      }, d.a.createElement("span", null, "系统提示")), d.a.createElement("div", {
        className: "walertcontent"
      }, d.a.createElement("span", null, v.message)), d.a.createElement("div", {
        className: "walertagree"
      }, d.a.createElement("div", {
        className: "walertagreebtn",
        onClick: function () {
          e(b_(v.callbackFun));
          e(r_());
        }
      }, d.a.createElement("span", null, "确定")))));
    };

    e(302);

    var S_ = function () {
      var e = Object(E.b)(),
          v = Object(E.c)(Xc);
      Object(m.useEffect)(function () {
        e(L());
        return function () {
          e(H());
        };
      }, [e]);
      return d.a.createElement(d.a.Fragment, null, d.a.createElement("div", {
        className: "wralert"
      }, d.a.createElement("div", {
        className: "wralerttitle"
      }, d.a.createElement("span", null, "系统提示")), d.a.createElement("div", {
        className: "wralertcontent"
      }, d.a.createElement("span", null, v.message), "" !== v.amount && d.a.createElement("span", null, d.a.createElement("br", null), "出价金额：", v.amount, "元"), "" !== v.time && d.a.createElement("span", null, d.a.createElement("br", null), "系统处理时间：", v.time)), d.a.createElement("div", {
        className: "wralertagree"
      }, d.a.createElement("div", {
        className: "wralertagreebtn",
        onClick: function () {
          e(Jc());
        }
      }, d.a.createElement("span", null, "确定")))));
    };

    e(632);

    var F_ = function (c) {
      var v = c.biddingState,
          t = Object(E.b)(),
          a = Object(E.c)(xA),
          n = Object(E.c)(MA),
          l = Object(m.useState)(""),
          r = Object(j.a)(l, 2),
          i = r[0],
          u = r[1],
          s = Object(E.c)(JA);
      Object(m.useEffect)(function () {
        t(L());
        return function () {
          t(H());
        };
      }, [t]);
      return d.a.createElement("div", {
        className: "whSetPriceD"
      }, d.a.createElement("div", {
        className: "whpdTitleBox"
      }, d.a.createElement("span", null, "您的出价为：", d.a.createElement("span", null, v.amount), "元")), d.a.createElement("div", {
        className: "whpdContent"
      }, d.a.createElement("div", {
        className: "whpdtip"
      }, d.a.createElement("span", null, a && a.prompt)), d.a.createElement("div", {
        className: "wppdcapbox"
      }, s && d.a.createElement("label", {
        className: "errortip wperrorctl"
      }, "校验码不能为空"), d.a.createElement("div", {
        className: "whpdCapItem whpdCapLeft"
      }, !n && null != a && d.a.createElement("img", {
        src: a.imageUrl,
        alt: "Captcha",
        className: "pricecaptcha"
      }), n && d.a.createElement("div", {
        className: "prverError-box"
      }, d.a.createElement("label", {
        className: "imgErrorTip "
      }, "网络断开,请取消后重试"))), d.a.createElement("div", {
        className: "whpdCapItem whpdCapRight"
      }, d.a.createElement("input", {
        type: "text",
        title: "",
        id: "bidprice",
        autoComplete: "off",
        onChange: function (c) {
          var A;
          if (c.target.value.length > 10) c.target.value = c.target.value.substr(0, 10);
          if ("" !== (A = c.target.value).trim()) t(gA(!1));
          u(A);
        },
        value: i
      })), d.a.createElement("div", {
        className: "clear"
      })), d.a.createElement("div", {
        className: "whpdBtnbox"
      }, d.a.createElement("div", {
        className: "whpdConfirm whpdBtnItem",
        onClick: function () {
          if ("" !== i) {
            t(gA(!1));
            t(sA());

            if (O.hasSetPrice) {
              t(dA());
              return void t(s_({
                message: "出价过于频繁，请稍后再出",
                sourceType: o.WEBBID
              }));
            }

            O.hasSetPrice = !0;
            O.hasSetPriceHandler = setTimeout(function () {
              O.hasSetPrice = !1;
            }, 5000);
            t(iA({
              auctionId: v.auctionId,
              amount: v.amount,
              captchaAnswer: i
            }));
          } else t(gA(!0));
        }
      }, d.a.createElement("span", null, "确定")), d.a.createElement("div", {
        className: "whpdCancel whpdBtnItem",
        onClick: function () {
          t(dA());
          t(gA(!1));
          t(sA());
        }
      }, d.a.createElement("span", null, "取消")), d.a.createElement("div", {
        className: "clear"
      }))));
    };

    function q_() {
      var e = Object(E.b)(),
          v = Object(E.c)(ZA),
          t = Object(E.c)(LA);
      Object(m.useEffect)(function () {
        e(L());
        if (jQuery(".wqueryvercode-box .verify-bar-area").length < 1) jQuery(".wqueryvercode-box").slideVerify({
          type: 1,
          vOffset: 5,
          barSize: {
            width: "416px",
            height: "40px"
          },
          ready: function () {
            e(yA(0));
          },
          success: function () {
            e(yA(1));
            e(bA(!1));
            e(Yc(v));
          },
          error: function () {
            e(yA(-1));
          }
        });
        return function () {
          e(H());
        };
      }, [e, v]);
      Object(m.useEffect)(function () {
        e(function () {
          var c = Object(y.a)(w.a.mark(function c(A) {
            var e, v, t, a;
            return w.a.wrap(function (c) {
              for (;;) switch (c.prev = c.next) {
                case 0:
                  if (window.edupai_app && window.edupai_app.getKeyboardHeight && O.IsAndroid()) window.edupai_app.getKeyboardHeight({
                    success: function (c) {}
                  });else {
                    e = window.innerHeight;
                    v = document.documentElement.clientHeight || document.body.clientHeight;

                    if (e === window.screen.height) {
                      t = 0.5 * v + (document.documentElement.scrollTop || document.body.scrollTop);
                      A(R(t.toString() + "px"));
                    } else {
                      a = 0.5 * v + (document.documentElement.scrollTop || document.body.scrollTop) + e - window.screen.height;
                      A(R(a.toString() + "px"));
                    }
                  }

                case 1:
                case "end":
                  return c.stop();
              }
            }, c);
          }));
          return function (A) {
            return c.apply(this, arguments);
          };
        }());
        e(wA(!0));
      }, [e]);
      return d.a.createElement(d.a.Fragment, null, d.a.createElement("div", {
        className: "wqueryprice-dialog"
      }, d.a.createElement("div", {
        className: "wqpriceinfo-box"
      }, d.a.createElement("span", null, "查询最新出价情况")), d.a.createElement("div", {
        className: "wqueryvercode-box"
      }), d.a.createElement("div", {
        className: "wqueryvercode-errorbox"
      }, d.a.createElement("label", {
        className: "errortip queryerrorctl"
      }, -1 === t && d.a.createElement("label", null, "请拖动滑块至正确位置"), " ")), d.a.createElement("div", {
        className: "wpricebtn-box"
      }, d.a.createElement("div", {
        className: "wprcancelbtn wprbtn wcancelquerybtn",
        onClick: function () {
          e(bA(!1));
        }
      }, d.a.createElement("span", null, "取消")), d.a.createElement("div", {
        className: "clear"
      }))));
    }

    e(633);
    e(634);
    e(635);

    var W_ = function () {
      var e = Object(E.b)(),
          v = Object(E.c)(qA);
      Object(m.useEffect)(function () {
        e(L());
        return function () {
          e(H());
        };
      }, [e]);
      Object(m.useEffect)(function () {
        if (v < 99) {
          setTimeout(function () {
            var c = v;
            c += 95 === c ? 4 : 5;
            jQuery(".wprprocess-barinner ").css("width", c.toString() + "%");
            e(fA(c));
          }, 500);
          if (95 === v) setTimeout(function () {
            e(TA());
          }, 7500);
        }
      }, [e, v]);
      return d.a.createElement("div", {
        className: "whPriceProcessD"
      }, d.a.createElement("div", {
        className: "wprprocess-box"
      }, d.a.createElement("div", {
        className: "whppdTitleBox"
      }, d.a.createElement("span", null, "出价处理")), d.a.createElement("div", {
        className: "whppdContent"
      }, d.a.createElement("div", {
        className: "wprprocess-barinnerbox"
      }, d.a.createElement("div", {
        className: "wprprocess-barinner"
      })), d.a.createElement("div", {
        className: "whppdtip"
      }, d.a.createElement("span", null, v, "%"))), d.a.createElement("div", {
        className: "clear"
      })));
    };

    function G_() {
      var e = Object(E.b)();
      Object(m.useEffect)(function () {
        e(L());
        e(fA(0));
        return function () {
          e(H());
        };
      }, [e]);
      return d.a.createElement(d.a.Fragment, null, "    ", d.a.createElement("div", {
        className: "whPriceProcessD"
      }, d.a.createElement("div", {
        className: "wprprocess-box"
      }, d.a.createElement("div", {
        className: "whppdTitleBox"
      }, d.a.createElement("span", null, "出价处理")), d.a.createElement("div", {
        className: "whppdContent whpwcontent"
      }, d.a.createElement("span", null, "正在等待出价入列")), d.a.createElement("div", {
        className: "clear"
      }))), " ");
    }

    var J_ = function () {
      var e = Object(E.c)(GA),
          v = Object(E.b)();
      Object(m.useEffect)(function () {
        v(L());
        return function () {
          v(H());
        };
      }, [v]);
      return d.a.createElement(d.a.Fragment, null, d.a.createElement("div", {
        className: "wralert"
      }, d.a.createElement("div", {
        className: "wralerttitle"
      }, d.a.createElement("span", null, "系统提示")), d.a.createElement("div", {
        className: "wralertcontent"
      }, d.a.createElement("span", null, e.bidWinning ? "恭喜您成交了，" : "您没有成交。"), e.bidWinning && d.a.createElement("span", null, d.a.createElement("br", null), "成交价格：", e.bidAmount.toString(), "元，"), e.bidWinning && d.a.createElement("span", null, d.a.createElement("br", null), "本场出价时间：", O.formatHHmmssTime(new Date(e.bidTime)))), d.a.createElement("div", {
        className: "wralertagree"
      }, d.a.createElement("div", {
        className: "wralertagreebtn",
        onClick: function () {
          v(hA());
        }
      }, d.a.createElement("span", null, "确定")))));
    },
        L_ = function () {
      var e = Object(E.b)();
      Object(m.useEffect)(function () {
        e(J());
        O.DisablePCScroll();
        return function () {
          O.EnblePCScroll();
          e(_());
        };
      }, [e]);
      return d.a.createElement(d.a.Fragment, null, d.a.createElement("div", {
        className: "walert"
      }, d.a.createElement("div", {
        className: "walerttitle"
      }, d.a.createElement("span", null, "友情提示")), d.a.createElement("div", {
        className: "walertcontent"
      }, d.a.createElement("span", null, "您的出价较高，请谨慎出价。")), d.a.createElement("div", {
        className: "walertagree"
      }, d.a.createElement("div", {
        className: "walertagreebtn",
        onClick: function () {
          O.EnblePCScroll();
          e(AA(-1));
        }
      }, d.a.createElement("span", null, "确定")))));
    },
        H_ = e(636).version,
        X_ = function () {
      setTimeout(function () {
        O.ResizeWebPage();
      }, 10);
      var a = Object(E.b)();
      Object(m.useEffect)(function () {
        a(function () {
          var c = Object(y.a)(w.a.mark(function c(A) {
            var e, v;
            return w.a.wrap(function (c) {
              for (;;) switch (c.prev = c.next) {
                case 0:
                  c.next = 2;
                  return fetch("/system-info");

                case 2:
                  if (200 !== (e = c.sent).status) {
                    c.next = 11;
                    break;
                  }

                  c.next = 6;
                  return e.json();

                case 6:
                  v = c.sent;
                  O.curSocketUrlNumber = 0;
                  if (v.endpoints) A(W(v.endpoints));
                  A(function () {
                    var c = Object(y.a)(w.a.mark(function c(A, e) {
                      var v, t, a, n, l, i, u, s, m, d, f;
                      return w.a.wrap(function (c) {
                        for (;;) switch (c.prev = c.next) {
                          case 0:
                            if (null == zc) {
                              c.next = 2;
                              break;
                            }

                            return c.abrupt("return");

                          case 2:
                            if (null == (v = e().authentication.user) && window.localStorage.getItem("user")) {
                              t = JSON.parse(window.localStorage.getItem("user"));
                              v = Kc.decode(t.access_token);
                            }

                            if (null != v) {
                              c.next = 6;
                              break;
                            }

                            return c.abrupt("return");

                          case 6:
                            a = Vc();
                            n = new N.Client({
                              brokerURL: a,
                              stompVersions: new N.Versions([N.Versions.V1_2])
                            });
                            l = null;

                            i = function () {
                              var c = n.subscribe("/app/cardinfo", function (e) {
                                c.unsubscribe();
                                var v = JSON.parse(e.body);
                                A(nA(v));
                              });
                            };

                            u = function c() {
                              O.showConnectErrorFun();
                              if (n.active) var v = n.subscribe("/app/auction", function (t) {
                                v.unsubscribe();
                                A(hA());
                                var a = JSON.parse(t.body);

                                if (0 === a.length) {
                                  setTimeout(c, 30000);
                                  A(NA(0));
                                  return void A(EA({
                                    bidCount: 0,
                                    dealTime: "/",
                                    type: "/",
                                    bidAmount: 0
                                  }));
                                }

                                A(NA(1));
                                var r = e().bid.auction,
                                    i = a[0];
                                A(lA(i));
                                if (r && r.id !== i.id) A(v_());

                                if (null != l) {
                                  if (l.auctionId === i.id) return;
                                  clearTimeout(l.idleTimeout);
                                  l.subscription.unsubscribe();
                                  l = null;
                                }

                                var u = function () {
                                  if (null != l) {
                                    l.subscription.unsubscribe();
                                    l = null;
                                  }

                                  c();
                                },
                                    o = n.subscribe("/topic/auctions/" + i.id, function (v) {
                                  if (null != l) {
                                    clearTimeout(l.idleTimeout);
                                    l.idleTimeout = setTimeout(u, 30000);
                                  } else console.error("There is no currentAuctionRealTimeSubscriptions.");

                                  var t = JSON.parse(v.body),
                                      a = e().bid.auction;

                                  if (null != a && a.id === t.auctionId) {
                                    if (t.auctionVersion === a.version) A(rA(t));else {
                                      c();
                                      var n = e().bid.auctionRealTime,
                                          r = e().bid.biddingState;
                                      if (t.status !== (null === n || void 0 === n ? void 0 : n.status) || r && null !== r.requestId) A(dA());
                                    }
                                  } else console.error("There is no auction in state, or auctionId is not matched.");
                                });

                                l = {
                                  auctionId: i.id,
                                  subscription: o,
                                  idleTimeout: setTimeout(u, 30000)
                                };
                                A(Yc(i.id));
                              });else console.log("tempClient  is not active");
                            };

                            s = function () {
                              n.subscribe("/user/queue/bidcaptcha", function (c) {
                                if (c.isBinaryBody) {
                                  var e = new Blob([c.binaryBody], {
                                    type: c.headers["content-type"]
                                  }),
                                      v = URL.createObjectURL(e);
                                  console.debug("Created objectURL: " + v);
                                  var t = {
                                    auctionId: c.headers["auction-id"],
                                    amount: parseInt(c.headers.amount),
                                    prompt: c.headers.prompt,
                                    imageUrl: v
                                  };
                                  A($A(t));
                                } else console.error("BidCaptcha body is not binary.");
                              });
                            };

                            m = function () {
                              n.subscribe("/user/queue/bid-updates", function (c) {
                                var e = JSON.parse(c.body);
                                A(uA(e));
                              });
                            };

                            d = function () {
                              n.subscribe("/user/queue/errors", function (c) {
                                if (null !== c.body) {
                                  var e = JSON.parse(c.body);

                                  if ("InvalidRequest" === e.code && "图像校验码错误！" === e.message) {
                                    var v = O.GetAlertId();
                                    if (O.IsPC()) A(u_({
                                      message: e.message,
                                      alertId: v,
                                      sourceType: o.WEBBID
                                    }));else A(u_({
                                      message: e.message,
                                      alertId: v
                                    }));
                                    A(f_(v));
                                  } else if ("InvalidRequest" === e.code && "请求过多" === e.message) {
                                    A(l_("请勿频繁刷新！"));
                                    A(kA(!0));
                                  } else if ("InvalidRequest" === e.code && e.message.indexOf("出价请求被退回") > -1 && O.IsPC()) A(s_({
                                    message: e.message,
                                    sourceType: o.WEBBID
                                  }));else A(l_(e.message));
                                } else A(l_(c.body));

                                A(dA());
                              });
                            };

                            f = function () {
                              n.subscribe("/user/queue/messages", function (c) {
                                var e = JSON.parse(c.body);
                                A(e_());
                                A(pA(e));
                              });
                            };

                            n.onConnect = function (c) {
                              i();
                              u();
                              s();
                              if (function (c) {
                                var A;
                                return (null === (A = QA(c)) || void 0 === A ? void 0 : A.status) === r.FIRST_BID || function (c) {
                                  var A;
                                  return (null === (A = QA(c)) || void 0 === A ? void 0 : A.status) === r.CHANGE_BID;
                                };
                              }) m();
                              d();
                              f();
                              A(vA());
                              A(jA(!1));
                              A(dA());
                            };

                            n.beforeConnect = function () {
                              try {
                                if (window.localStorage.getItem("user") && v && v.access_token) {
                                  var c = JSON.parse(window.localStorage.getItem("user")),
                                      t = Kc.decode(c.access_token).sub,
                                      a = Kc.decode(v.access_token).sub;
                                  if (!O.checkLastestPage(a)) return a === t ? (A(o_({
                                    message: "该投标号已在其他地方登录，请检查投标号并重新登录。",
                                    callbackFun: "logout"
                                  })), A(eA()), void A($_())) : (A(n_({
                                    message: "程序已在其他页面运行或刷新过于频繁，请关闭浏览器后再次运行。",
                                    hideConfirmbtn: !0
                                  })), A(eA()), void A($_()));
                                }
                              } catch (c) {}

                              n.connectHeaders = {
                                passcode: v.access_token
                              };
                              n.brokerURL = O.getCurSocketUrl(e().system.wssEndPoints);
                              A(aA());
                            };

                            n.onWebSocketClose = function (c) {
                              if (c.wasClean) console.log(c);else console.warn(c);

                              if ("该投标号已在其他地方登录，请检查投标号并重新登录。" !== e().alert.message && "请保持应用在前端运行" !== e().alert.message && "与服务器的连接已断开，请重新登录" !== e().alert.message && "程序已在其他页面运行或刷新过于频繁，请关闭浏览器后再次运行。" !== e().alert.message && "网络中断,请稍后重试！" !== e().alert.message) {
                                A(r_());
                                A(Jc());
                              }

                              A(jA(!0));
                              A(tA());
                              A(sA());
                              A(hA());

                              if (null != l) {
                                clearTimeout(l.idleTimeout);
                                l = null;
                              }
                            };

                            n.onStompError = function (c) {
                              if (!e().bid.connecting && null !== c.headers && "offline" === c.headers.hint) {
                                A($_());
                                A(o_({
                                  message: "该投标号已在其他地方登录，请检查投标号并重新登录。",
                                  callbackFun: "logout"
                                }));
                              }

                              if (e().bid.connecting && c.headers && "该投标号已在其他地方登录，请检查投标号并重新登录。" !== e().alert.message) A(__());
                            };

                            (zc = n).activate();

                          case 21:
                          case "end":
                            return c.stop();
                        }
                      }, c);
                    }));
                    return function (A, e) {
                      return c.apply(this, arguments);
                    };
                  }());
                  if (v.auctionType) A(F(v.auctionType));

                case 11:
                case "end":
                  return c.stop();
              }
            }, c);
          }));
          return function (A) {
            return c.apply(this, arguments);
          };
        }());
        return function () {
          a(eA());
        };
      }, [a]);
      var s = Object(E.c)(QA),
          f = Object(E.c)(KA),
          b = Object(E.c)(ZA),
          p = Object(E.c)(c_),
          g = Object(E.c)(SA),
          B = Object(E.c)(V),
          j = Object(E.c)(m_),
          C = Object(E.c)(Xc),
          T = Object(E.c)(VA),
          k = Object(E.c)(M),
          U = Object(E.c)(YA),
          S = null === g ? "" : g.bidnumber,
          P = null === g ? "" : g.bidcount,
          D = null === g ? "" : g.name,
          x = null === g ? "" : g.validdate.split("-")[0] + "年" + g.validdate.split("-")[1].replace(/\b(0+)/gi, "") + "月" + g.validdate.split("-")[2].replace(/\b(0+)/gi, "") + "日",
          q = k === n.INDIVIDUAL ? "上海市个人非营业性客车额度拍卖" : "上海市单位非营业性客车额度拍卖";
      document.title = q;
      var J = Object(E.c)(WA),
          L = "/";
      if (null !== J && void 0 !== (null === J || void 0 === J ? void 0 : J.type)) switch (null === J || void 0 === J ? void 0 : J.type) {
        case "web":
          L = "网络出价";
          break;

        case "phone":
          L = "电话出价";
          break;

        case "app/mobile":
          L = "移动出价";
      }

      var X = Object(E.c)(FA),
          K = Object(E.c)(DA),
          z = Object(E.c)(PA),
          Y = Object(E.c)(RA),
          _ = Object(E.c)(zA),
          Q = Object(E.c)(GA),
          Z = Object(E.c)(ic),
          cc = Object(E.c)(UA),
          Ac = Object(E.c)(HA),
          _c = Object(h.g)(),
          $c = Object(h.h)(),
          ec = Object(m.useMemo)(function () {
        return $c.state || {
          from: {
            pathname: Z ? "/" : "/login",
            search: "?type=" + (null === k ? O.queryAucType("type") : null === k || void 0 === k ? void 0 : k.toLowerCase())
          }
        };
      }, [$c.state, k, Z]).from,
          vc = cc ? " whpubinfoTitle whpubinfoTitleConn" : " whpubinfoTitle whpubinfoTitleNotConn";

      Object(m.useEffect)(function () {
        if (Z) {
          if (k !== O.queryParams("type")) _c.replace(ec);
        } else if (window.localStorage.getItem("user")) {
          var c = JSON.parse(window.localStorage.getItem("user"));
          a(pc(c));
          a(tc(c));
        } else _c.replace(ec);

        if (Z) a(function () {
          var c = Object(y.a)(w.a.mark(function c(A, e) {
            var v;
            return w.a.wrap(function (c) {
              for (;;) switch (c.prev = c.next) {
                case 0:
                  try {
                    if (e().authentication.loggedIn && e().authentication.user) {
                      v = Kc.decode(e().authentication.user.access_token).sub;
                      O.setLastestPage(v);
                    }
                  } catch (c) {}

                case 1:
                case "end":
                  return c.stop();
              }
            }, c);
          }));
          return function (A, e) {
            return c.apply(this, arguments);
          };
        }());
      }, [a, _c, ec, Z, k]);
      Object(m.useEffect)(function () {
        if (!cc && Ac >= 10 && "该投标号已在其他地方登录，请检查投标号并重新登录。" !== j.message && "程序已在其他页面运行或刷新过于频繁，请关闭浏览器后再次运行。" !== j.message) {
          a(eA());
          a($_());
          a(o_({
            message: "与服务器的连接已断开，请重新登录",
            callbackFun: "logout",
            sourceType: o.WEBBID
          }));
        }
      }, [a, cc, Ac, j.message]);
      Object(m.useEffect)(function () {
        if (null !== K && K.code === i.Unspecified && null !== X && X.error) {
          if (X.enqueued || X.dealed) {
            var c = K.message;

            if (K.type === u.DEAL) {
              var A = c.indexOf("您的出价已经超过截止时间") > -1 ? "." + O.formatZero(new Date(K.time), 3) : "",
                  e = O.GetAlertId();
              a(Hc({
                message: c,
                time: O.formatYYYYMDHmssTime(new Date(K.time)) + A,
                amount: X.amount.toString(),
                alertId: e,
                sourceType: o.WEBBID
              }));
              return void a(function (c) {
                A = Object(y.a)(w.a.mark(function A(e) {
                  return w.a.wrap(function (A) {
                    for (;;) switch (A.prev = A.next) {
                      case 0:
                        setTimeout(function () {
                          O.EnbleTouch();
                          e(wA(!1));
                          e(Lc(c));
                        }, 15000);

                      case 1:
                      case "end":
                        return A.stop();
                    }
                  }, A);
                }));
                return function (c) {
                  return A.apply(this, arguments);
                };
                var A;
              }(e));
            }

            var v = O.GetAlertId();
            a(u_({
              message: c,
              alertId: v,
              sourceType: o.WEBBID
            }));
            return void a(f_(v));
          }

          a(s_({
            message: K.message,
            sourceType: o.WEBBID
          }));
        }

        if (null !== K && K.requestId && K.code === i.Success && K.type === u.DEAL && null !== X && !X.error && K.requestId === X.requestId) {
          a(EA({
            bidCount: K.bidCount,
            dealTime: K.time,
            type: K.bidType,
            bidAmount: K.bidAmount
          }));
          a(bA(!1));
        }

        if (X && !X.alertPriceSuc && X.dealed && !X.error && K.requestId === X.requestId) {
          a(_A());
          var t = O.GetAlertId();
          a(u_({
            message: "出价有效",
            alertId: t,
            sourceType: o.WEBBID
          }));
          a(f_(t));
        }
      }, [X, K, z, a]);

      var ac,
          $ = function () {
        if (!f || null != s && s.status === r.NOT_STARTED) {
          var c = O.GetAlertId();
          a(u_({
            message: "没有正在举行的拍卖会，请注意拍卖公告！",
            alertId: c,
            sourceType: o.WEBBID
          }));
          return void a(f_(c));
        }

        if (null == s || s.status !== r.FINISHED) {
          if (null == s || s.status !== r.ISSUED) {
            if (null == s || s.status !== r.TERMINATED) {
              if (null == s || s.status !== r.SUSPEND) {
                if (O.networkIsConnected) {
                  if (O.hasQueryPrice) a(s_({
                    message: "你的操作过于频繁，请稍后再尝试",
                    sourceType: o.WEBBID
                  }));else {
                    O.hasQueryPrice = !0;
                    O.hasQueryPriceHandler = setTimeout(function () {
                      O.hasQueryPrice = !1;
                    }, 6000);
                    a(bA(!0));
                  }
                } else a(s_({
                  message: "网络中断,请稍后重试！",
                  sourceType: o.WEBBID
                }));
              } else a(s_({
                message: "拍卖会已暂停！",
                sourceType: o.WEBBID
              }));
            } else a(s_({
              message: "拍卖会已终止！",
              sourceType: o.WEBBID
            }));
          } else a(s_({
            message: "拍卖会已结束！",
            sourceType: o.WEBBID
          }));
        } else a(s_({
          message: "拍卖会已结束！",
          sourceType: o.WEBBID
        }));
      };

      return d.a.createElement(d.a.Fragment, null, d.a.createElement("div", {
        className: "whomebody wbody"
      }, d.a.createElement("div", {
        className: "wlogoutbtn",
        onClick: function () {
          a(BA(!0));
          a(function () {
            var c = Object(y.a)(w.a.mark(function c(A) {
              return w.a.wrap(function (c) {
                for (;;) switch (c.prev = c.next) {
                  case 0:
                    A(r_());
                    A(Jc());
                    A(bA(!1));
                    A(dA());
                    A(hA());
                    A(cA());

                  case 6:
                  case "end":
                    return c.stop();
                }
              }, c);
            }));
            return function (A) {
              return c.apply(this, arguments);
            };
          }());
        }
      }, d.a.createElement("span", null, "退出登录")), d.a.createElement("div", {
        className: "whomemain"
      }, d.a.createElement("div", {
        className: "whcontent"
      }, d.a.createElement("div", {
        className: "whtitlebox"
      }, d.a.createElement("div", {
        className: "whtitle"
      }, k && d.a.createElement("span", {
        className: "whtitletip"
      }, q))), d.a.createElement("div", {
        className: "whcardinfo"
      }, d.a.createElement("ul", null, d.a.createElement("li", {
        className: "whml100 field01"
      }, d.a.createElement("span", null, "投标号：")), d.a.createElement("li", {
        className: "field02"
      }, d.a.createElement("span", null, S)), d.a.createElement("li", null, d.a.createElement("span", null, "客户名称：")), d.a.createElement("li", null, d.a.createElement("span", {
        title: D
      }, D.length > 16 ? D.substring(0, 15) + "..." : D))), d.a.createElement("div", {
        className: "clear"
      }), d.a.createElement("ul", null, d.a.createElement("li", {
        className: "whml100 field03"
      }, d.a.createElement("span", null, "有效期至：")), d.a.createElement("li", {
        className: "field04"
      }, d.a.createElement("span", null, x)), d.a.createElement("li", null, d.a.createElement("span", null, "已参拍次数：")), d.a.createElement("li", null, d.a.createElement("span", null, P, "次"), d.a.createElement("span", null, "（不包括本场拍卖会）")))), d.a.createElement("div", {
        className: "whbiddingcontent"
      }, d.a.createElement("div", {
        className: "whbiddingitem whbiddingleft"
      }, !cc && d.a.createElement("div", {
        className: "whconnect-error",
        style: {
          display: O.showConnectError ? "block" : "none"
        }
      }, d.a.createElement("span", null, "与服务器连接中断,请检查您的网络连接;系统会尝试重新连接或请您手动刷新页面连接")), 1 === f && null != s && (s.status === r.NOT_STARTED || s.status === r.FINISHED || s.status === r.ISSUED) && d.a.createElement("div", {
        className: "whAdBox"
      }), d.a.createElement("div", {
        className: "whpubinfoTitlebox"
      }, d.a.createElement("div", {
        className: vc
      }, d.a.createElement("span", null, "公开信息"))), d.a.createElement("div", {
        className: "whpubinfo"
      }, 1 === f && null != s && s.status === r.NOT_STARTED && (ac = s, d.a.createElement("div", null, d.a.createElement("span", null, ac.name, "尚未开始"), d.a.createElement("br", null), d.a.createElement("span", null, "起止时间为:"), d.a.createElement("br", null), d.a.createElement("span", null, O.formatYYYYMDHmssTimeZH(ac.startTime)), d.a.createElement("br", null), d.a.createElement("span", null, O.formatYYYYMDHmssTimeZH(ac.endTime)), d.a.createElement("br", null), d.a.createElement("br", null), d.a.createElement("span", null, "系统目前时间:", O.formatHHmmssTime(ac.systemTime)))), 1 === f && null != s && s.status === r.FIRST_BID && function (c) {
        return d.a.createElement("div", null, d.a.createElement("div", {
          className: "proinfo"
        }, d.a.createElement("span", null, c.name), d.a.createElement("br", null), d.a.createElement("span", null, "投放额度数:", d.a.createElement("span", null, c.quota)), d.a.createElement("br", null), c.lowerLimit > 100 && c.type === n.CORPORATE && d.a.createElement(d.a.Fragment, null, d.a.createElement("span", null, "起拍价:", d.a.createElement("span", null, c.lowerLimit)), d.a.createElement("br", null)), d.a.createElement("span", {
          className: "red limitprice",
          id: "limitprice"
        }, "本场拍卖会警示价:", d.a.createElement("span", null, c.type === n.INDIVIDUAL ? c.limitPrice : "无警示价")), d.a.createElement("br", null), d.a.createElement("span", null, "拍卖会起止时间:", d.a.createElement("span", null, O.formatHHmmTime(c.startTime)), "至", d.a.createElement("span", null, O.formatHHmmTime(c.endTime))), d.a.createElement("br", null), d.a.createElement("span", null, "首次出价时段:", d.a.createElement("span", null, O.formatHHmmTime(c.startTime)), "至", d.a.createElement("span", null, O.formatHHmmTime(c.updateTime))), d.a.createElement("br", null), d.a.createElement("span", null, "修改出价时段:", d.a.createElement("span", null, O.formatHHmmTime(c.updateTime)), "至", d.a.createElement("span", null, O.formatHHmmTime(c.endTime))), d.a.createElement("br", null)), d.a.createElement("div", {
          className: "detail-proinfo"
        }, d.a.createElement("span", {
          className: "stageTxt"
        }, "目前为", d.a.createElement("span", null, O.getPhaseName(c.status))), d.a.createElement("br", null), d.a.createElement("span", null, "系统目前时间:", d.a.createElement("span", {
          className: "red"
        }, O.formatHHmmssTime(c.systemTime))), d.a.createElement("br", null), d.a.createElement("span", null, "目前已投标人数:", d.a.createElement("span", {
          className: "red"
        }, c.numberOfBidUsers)), d.a.createElement("br", null), d.a.createElement("span", null, "目前最低可成交价:", d.a.createElement("span", {
          className: "red"
        }, c.basePrice)), d.a.createElement("br", null), d.a.createElement("span", null, "最低可成交价出价时间:", d.a.createElement("span", {
          className: "red"
        }, c.basePriceTime && O.formatYYYYMDHmssTimeEN(c.basePriceTime))), d.a.createElement("br", null)));
      }(s), 1 === f && null != s && s.status === r.CHANGE_BID && function (c) {
        return d.a.createElement("div", null, d.a.createElement("div", {
          className: "proinfo red"
        }, d.a.createElement("span", null, c.name), d.a.createElement("br", null), d.a.createElement("span", null, "投放额度数:", d.a.createElement("span", null, c.quota)), d.a.createElement("br", null), c.lowerLimit > 100 && c.type === n.CORPORATE && d.a.createElement(d.a.Fragment, null, d.a.createElement("span", null, "起拍价:", d.a.createElement("span", null, c.lowerLimit)), d.a.createElement("br", null)), d.a.createElement("span", null, "目前已投标人数:", d.a.createElement("span", null, c.numberOfBidUsers)), d.a.createElement("br", null), d.a.createElement("span", null, "拍卖会起止时间:", d.a.createElement("span", null, O.formatHHmmTime(c.startTime)), "至", d.a.createElement("span", null, O.formatHHmmTime(c.endTime))), d.a.createElement("br", null), d.a.createElement("span", null, "首次出价时段:", d.a.createElement("span", null, O.formatHHmmTime(c.startTime)), "至", d.a.createElement("span", null, O.formatHHmmTime(c.updateTime))), d.a.createElement("br", null), d.a.createElement("span", null, "修改出价时段:", d.a.createElement("span", null, O.formatHHmmTime(c.updateTime)), "至", d.a.createElement("span", null, O.formatHHmmTime(c.endTime))), d.a.createElement("br", null)), d.a.createElement("div", {
          className: "detail-proinfo secdetail-proinfo"
        }, d.a.createElement("span", {
          className: "stageTxt"
        }, "目前为", d.a.createElement("span", null, O.getPhaseName(c.status))), d.a.createElement("br", null), d.a.createElement("span", null, "系统目前时间:", d.a.createElement("span", {
          className: "red"
        }, O.formatHHmmssTime(c.systemTime))), d.a.createElement("br", null), d.a.createElement("span", null, "目前最低可成交价:", d.a.createElement("span", {
          className: "red"
        }, c.basePrice)), d.a.createElement("br", null), d.a.createElement("span", null, "最低可成交价出价时间:", d.a.createElement("span", {
          className: "red"
        }, c.basePriceTime && O.formatYYYYMDHmssTimeEN(c.basePriceTime))), d.a.createElement("br", null), d.a.createElement("span", null, "目前数据库接受处理价格区间:", d.a.createElement("span", {
          className: "red"
        }, d.a.createElement("span", null, c.priceLower), "至", d.a.createElement("span", null, c.priceUpper))), d.a.createElement("br", null)));
      }(s), 1 === f && null != s && s.status === r.FINISHED && function (c) {
        var A,
            e = null === (A = c.content) || void 0 === A ? void 0 : A.split("\n");
        return d.a.createElement("div", {
          className: "whendbox"
        }, d.a.createElement("div", null, d.a.createElement("span", null, c.name, "已经结束，"), null === e || void 0 === e ? void 0 : e.map(function (c, A) {
          return "" === c.trim() ? d.a.createElement("span", {
            key: A
          }, d.a.createElement("br", null), d.a.createElement("br", null)) : d.a.createElement("span", {
            key: A
          }, c);
        })));
      }(s), 1 === f && null != s && s.status === r.ISSUED && function (c) {
        var A, e;
        I()(".resaddcontent").html(void 0 === (null === (A = c.additionalContent) || void 0 === A ? void 0 : A.replace("\n", "</br>")) ? "" : null === (e = c.additionalContent) || void 0 === e ? void 0 : e.replace("\n", "</br>"));
        return d.a.createElement("div", null, d.a.createElement("div", {
          className: "resaddcontent"
        }));
      }(s), 0 === f && cc && function () {
        var c = O.queryAucType("type");
        return d.a.createElement("div", null, c === n.INDIVIDUAL.toLowerCase() && d.a.createElement("span", null, "没有正在举行的拍卖会，请注意拍卖公告！"), c === n.CORPORATE.toLowerCase() && d.a.createElement("span", null, "没有正在举行的拍卖会，请注意拍卖公告！查询请到www.alltobid.com"));
      }(), 1 === f && null == s && d.a.createElement("div", {
        className: "wwtip"
      }, d.a.createElement("span", null, "正在尝试获取拍卖会信息，请稍等。"))), 1 === f && null != s && (s.status === r.FIRST_BID || s.status === r.CHANGE_BID) && d.a.createElement("div", {
        className: "whptipbox"
      }, d.a.createElement("span", null, "请尽早出价,避免因网络繁忙拥堵无法成功出价"))), d.a.createElement("div", {
        className: "whbiddingitem whbiddingright"
      }, X && null == X.requestId && d.a.createElement(F_, {
        biddingState: X
      }), Y && d.a.createElement(q_, null), X && null != X.requestId && !X.enqueued && !X.dealed && !X.error && d.a.createElement(G_, null), X && X.enqueued && !X.dealed && !X.error && _ && d.a.createElement(W_, null), j.message && j.sourceType === o.WEBBID && d.a.createElement(k_, null), C.message && C.sourceType === o.WEBBID && d.a.createElement(S_, null), 1 === U && b && 1 === f && p === r.FIRST_BID && d.a.createElement(L_, null), B > 0 && d.a.createElement("div", {
        className: "webbidmask"
      }), Q && d.a.createElement(J_, null), d.a.createElement("div", {
        className: "whbidTitlebox"
      }, d.a.createElement("div", {
        className: "whbidTitle"
      }, d.a.createElement("span", null, "投标拍卖"))), d.a.createElement("div", {
        className: "whbidcontent"
      }, (0 === f || p === r.NOT_STARTED || p === r.FIRST_BID || p === r.CHANGE_BID) && d.a.createElement(B_, {
        auctionId: void 0 === b ? "" : b,
        auctionStatus: p
      }), b && 1 === f && p === r.FINISHED && d.a.createElement("div", {
        className: "webFinishedInfo"
      }, d.a.createElement("span", null, "请等待拍卖信息发布")), b && 1 === f && p === r.ISSUED && null != s && function (c) {
        var A,
            e = null === (A = c.content) || void 0 === A ? void 0 : A.split("\n");
        return d.a.createElement("div", {
          className: "rescontent"
        }, null === e || void 0 === e ? void 0 : e.map(function (c, A) {
          return "" === c.trim() ? d.a.createElement("span", {
            key: A
          }, d.a.createElement("br", null), d.a.createElement("br", null)) : d.a.createElement("span", {
            key: A
          }, d.a.createElement("br", null), c);
        }));
      }(s)), d.a.createElement("div", {
        className: "whmybidcontent"
      }, d.a.createElement(d.a.Fragment, null, d.a.createElement("div", {
        className: "whmybidbox"
      }, d.a.createElement("div", {
        className: "whmybidtitile"
      }, d.a.createElement("span", null, "出价情况")), d.a.createElement("div", {
        className: "whmybidinfo"
      }, 1 === f && null != s && !(null === J || 0 === J.bidCount) && d.a.createElement("div", null, d.a.createElement("span", null, "您第", J.bidCount, "次出价"), d.a.createElement("br", null), d.a.createElement("span", null, "出价金额:", J.bidAmount), d.a.createElement("br", null), d.a.createElement("span", null, "出价时间:", O.formatYYYYMDHmssTime(new Date(null === J || void 0 === J ? void 0 : J.dealTime))), d.a.createElement("br", null), d.a.createElement("span", null, "出价方式:", L)), 1 === f && null != s && (s.status === r.FIRST_BID || s.status === r.CHANGE_BID) && T && (null === J || 0 === J.bidCount) && d.a.createElement("div", {
        className: "whqueryOften"
      }, " ", d.a.createElement("span", null, "刷新过于频繁,请稍后再试"), "  "))), d.a.createElement("div", {
        className: "whquerybox"
      }, d.a.createElement("div", {
        className: "whver"
      }, d.a.createElement("span", null, "版本：", d.a.createElement("span", null, H_))), d.a.createElement("div", {
        className: "whquerybtn",
        onClick: $
      }, d.a.createElement("span", null, "查询本人最新出价情况")), d.a.createElement("div", {
        className: "clear"
      })))))), d.a.createElement("div", {
        className: "clear"
      }))), d.a.createElement("div", {
        className: "gpfooter"
      }, d.a.createElement("span", null, "上海国际商品拍卖有限公司"))));
    };

    e(637);
    e(303);
    e(304);

    var z_ = function () {
      return d.a.createElement("div", {
        className: "Wdialog-content"
      }, d.a.createElement("div", {
        className: "martop20"
      }, d.a.createElement("div", null, d.a.createElement("p", null, "一、本须知为“个人非营业性客车额度拍卖”所制订，竞买人应当遵守本须知。 "), d.a.createElement("p", null, "二、竞买人资格（注：获得额度证明后，在办理车辆上牌手续时，额度证明与购车发票的名称须一致）："), "已持有有效《拍卖密码封条》或符合《上海市非营业性客车额度拍卖管理规定》(以下简称《规定》)第七条规定的资格条件，并通过上海市交通委员会行政服务中心信息核实的竞买人。", d.a.createElement("p", null, "三、本项拍卖活动采用网上拍卖和电话拍卖两种方式"), d.a.createElement("p", null, " 1．网上拍卖：电脑连接上网后，打开浏览器，登录网上拍卖网址（", d.a.createElement("a", {
        href: "https://paimai.alltobid.com",
        target: "_self"
      }, "https://paimai.alltobid.com"), "），使用拍卖人提供的网上拍卖系统，按照《网上拍卖操作流程》进行拍卖。若竞买人在拍卖过程中退出前述拍卖系统，再次登录并运行拍卖系统的，须输入竞买人办理拍卖登记时的有效身份证件号码。", d.a.createElement("br", null), "2．电话拍卖：拨打（021）16842828 、（021）16882333；接通后，按照《电话拍卖操作流程》进行拍卖。", d.a.createElement("br", null), "3．每位竞买人只能用一个投标拍卖号在一台电脑、一门电话或手机上进行拍卖。", d.a.createElement("br", null), "4．竞买人在拍卖人公告规定的拍卖时间期限内，持《拍卖密码封条》或APP中记载的投标拍卖号、密码自行选择拍卖方式，按照电脑页面显示或电话语音提示正确输入投标拍卖号、密码以及出价金额。", d.a.createElement("br", null), "5．拍卖人将对电话拍卖采取主叫限制的措施，竞买人在办理参加拍卖申请、登记手续时，须向拍卖人提供电话拍卖所使用的一个手机主叫号码，可另提供一个手机主叫号码或一线一号的直线座机；电话拍卖时，系统仅接受由该两个主叫号码提交的出价，且每个主叫号码在同一场拍卖会中只能成功竞投一个额度。", d.a.createElement("br", null), "6．鉴于电话线路有限，为避免竞买人不当占用线路造成线路繁忙，影响竞买人的正常竞买和出价，竞买人通过拨打电话方式参加竞买时，应严格按照提示音操作，听到提示音要求竞买人进行输入时，应当及时、准确地进行输入，如果超过10秒钟不输入，或者接连两次按键间隔时间超过10秒钟，或者在拨通电话后的操作过程中累积输入错误满3次，拍卖系统将提示后自动挂断竞买人的电话，竞买人须重新拨号参加拍卖。", d.a.createElement("br", null), "7. 为使网络拍卖的公平、有序，竞买人应严格按照《网上拍卖操作流程》，登录网上拍卖网址，使用网上拍卖系统进行拍卖。同时禁止竞买人使用除拍卖人提供的软件外的任何软件（包括但不限于辅助软件、自动化拍卖软件等）参与拍卖。", d.a.createElement("br", null), "8. 拍卖过程中，若竞买人使用上述非拍卖人提供的任何软件进行出价均被视为非正常操作行为，拍卖人有权对该非正常操作行为采取限制措施（包括但不限于暂停出价等直至终止其本次拍卖）。", d.a.createElement("br", null), "9. 竞买登记人必须在办理参加拍卖申请、登记手续前，仔细阅读拍卖公告、拍卖须知、拍卖操作流程，一经拍卖登记完成，竞买人即表示接受拍卖公告、拍卖须知、网络拍卖的客观状态、拍卖系统传导给网上拍卖系统界面的拍卖图文信息、提示和音频视频直播信号、拍卖操作流程规定的全部内容。", d.a.createElement("br", null)), d.a.createElement("p", null, "四、拍卖登记"), d.a.createElement("p", null, "必须由本人持符合《规定》的有效相关证件原件进行办理。", d.a.createElement("br", null), "1．按“申请参加个人非营业性客车额度拍卖办事指南”告示的要求，选择下载上海国拍APP递交参加拍卖申请，办理拍卖登记，获取相关标书信息（获取的投标号和密码请及时妥善保存，以便参加拍卖会时使用），或根据公告时间、地点前往现场网点递交参加拍卖申请，办理拍卖登记。同时交付拍卖保证金1000元整，领取《拍卖密码封条》/电子标书信息。领取的《拍卖密码封条》/电子标书信息初始状态为未激活状态，当申请人的参拍申请核实通过后，已领取的《拍卖密码封条》/电子标书信息将被自动激活，参加当期客车额度拍卖会。拍卖手续费每次60元整，按实际拍卖次数发生的金额在成交付款或未成交退款时收取", d.a.createElement("br", null), "2．一个竞买人只能办理一份有效的拍卖登记，一份《拍卖密码封条》/电子标书信息只能竞买一份客车额度。《拍卖密码封条》/电子标书信息自激活之日起半年内有效，有效期内如拍卖未成交的，无需重新办理拍卖申请、拍卖登记手续，可以在下一场拍卖会中继续使用，最多使用六次。有效期内拍卖次数已满六次的，或超过有效期的，可下载上海国拍APP按《规定》重新递交参加拍卖申请，办理拍卖登记，获取相关标书信息（获取的投标号和密码请及时妥善保存，以便参加拍卖会时使用）。"), d.a.createElement("p", null, "3.个人若办理委托拍卖“个人在用非营业性客车额度”手续后，三年内不得办理拍卖申请、登记手续。"), d.a.createElement("p", null, "五、系统提示"), "竞买人在拍卖会进行期间，可以输入投标拍卖号和密码，系统即时公布的相关拍卖信息，包括系统目前时间、目前拍卖人数、目前最低可成交价、目前最低可成交价的出价时间、目前数据库接受处理价格区间等；并可查询本人最新出价情况。", d.a.createElement("p", null, "六、拍卖成交原则：价格优先、相同价格则时间优先。"), "1.竞买人修改出价有效的，以其最后一次有效修改出价为最终出价；修改出价无效的，以其首次有效出价为最终出价；", d.a.createElement("br", null), "2.竞买人的有效出价时间是以拍卖数据库接收处理写入时间为准。", d.a.createElement("br", null), "3.竞买人以最终有效出价为竞价依据，以最终有效出价时间为竞时依据。", d.a.createElement("br", null), "4.系统根据竞买人最终有效出价金额由高到低，金额相同的按拍卖数据库写入的有效出价时间先者优先的原则进行排序，竞买人依次成交。 公告规定的时间截止后，在公证机关监督下由系统根据成交规则进行排序开标，经确认有效后即时对外公布拍卖成交结果。", d.a.createElement("p", null, "七、拍卖出价 "), "1．本场拍卖会持续时间为60分钟，前30分钟为“首次出价时段”，后30分钟为“修改出价时段”。", d.a.createElement("br", null), "2．竞买人应在首次出价时段内进行有效出价。首次出价确认提交后即出价入列，该出价进入序列等待数据库依次接收进行处理，页面提示进度条显示队列进度，出价处理完毕后提示出价有效/出价无效。如竞买人在“首次出价时段”内出价有效的，在该时段不能再次出价；如竞买人未在“首次出价时段”内提交出价或出价无效的，则表示不参加该场拍卖会。", d.a.createElement("br", null), "3．“首次出价时段”内出价有效的竞买人，可进入“修改出价时段”并在该时段内进行1次或2次修改出价。客户端页面有固定幅度的加价、减价快捷键，另有自定义加价幅度快捷键，竞买人可以根据自己的需要设定加价幅度，该加价幅度必须是100元的整数倍，最大加价幅度为9900元。修改出价确认提交后即出价入列，该修改价格进入序列等待数据库依次接收进行处理，页面提示进度条显示队列进度，数据库接收处理完毕后提示修改出价有效/出价无效。 “修改出价时段”设有“目前数据库接受处理价格区间”，“目前数据库接受处理价格区间” 是指目前数据库接受处理有效出价的价格区间，本场拍卖会的数据库接受处理价格区间为最低可成交价的±300元。竞买人自行输入价格提交后，进入序列等待数据库依次接收进行处理，当数据库接收处理到竞买人的修改出价时，该修改出价应在“目前数据库接受处理价格区间”范围内，方为有效出价；否则页面提示出价不在“目前数据库接受处理价格区间”范围内，请重新出价。(由于竞买人的修改出价提交入列后到数据库接收处理时存在一定的时间差。因此，竞买人应充分估计、判断公开信息中“目前最低可成交价”、“目前数据库接受处理价格区间”的实时变动情况，谨慎合理地输入修改价格)。", d.a.createElement("br", null), "4．竞买人出价必须为100元的整数倍，计价货币为人民币。", d.a.createElement("p", null, "八、查询 "), "本场拍卖会结束后，可通过本公司网站：", d.a.createElement("a", {
        href: "http://www.alltobid.com"
      }, "http://www.alltobid.com"), "、微信公众号（shanghaiguopai）、服务专线电话（4008881220），上海国拍APP自助查询拍卖结果。", d.a.createElement("p", null, "九、拍卖成交的买受人 "), "须由本人持符合《规定》的有效相关证件原件（证件上附有照片），在拍卖人公告规定的时间内，凭《拍卖密码封条》办理付款结算，领取《额度证明》和《市财政专用收据》，逾期未办理付款及领取《额度证明》的，将被视为放弃成交，并作违约处理，即拍卖保证金不予退还（领取的《额度证明》不得转让，在有效期内使用）。", d.a.createElement("p", null, "十、拍卖未成交的竞买人 "), "《拍卖密码封条》/电子标书信息自激活之日起半年之内有效。有效期内如拍卖未成交的，除有新公告通知外，无需重新办理拍卖申请、登记手续，可以在下场拍卖会中继续使用，最多使用六次。有效期内次数已满六次的，或超过有效期的，可下载上海国拍APP按《规定》重新递交参加申请，办理拍卖登记，获取相关标书信息，并办理退还保证金和按实际拍卖次数发生的金额支付手续费（获取的投标号和密码请及时妥善保存，以便参加拍卖会时使用）。", d.a.createElement("br", null), d.a.createElement("p", null, "十一、买受人付清全部款项后，即可获得拍卖人的《市财政专用收据》和上海市有关部门核发的《额度证明》(《额度证明》不得转让，在有效期内使用) 。"), d.a.createElement("p", null, "十二、其它注意事项： "), d.a.createElement("p", null, "1.拍卖系统使用的是网页浏览器，建议您使用windows7及以上操作系统的内核是IE7及以上的浏览器，或MacX操作系统的Safari浏览器，但同时必须安装版本为11及以上的flash播放器，不建议您使用无法安装上述系统的平板电脑。您可以登录", d.a.createElement("a", {
        href: "http://www.alltobid.com"
      }, "http://www.alltobid.com"), "网站进入模拟公测专栏，检查您的电脑浏览器是否符合要求。拍卖前务请了解熟悉网上操作指南，并进行相关测试，如有疑问可来电咨询4008881220或登录网站", d.a.createElement("a", {
        href: "http://www.alltobid.com"
      }, "http://www.alltobid.com"), "参阅。", d.a.createElement("br", null), "2. 请实时关注页面上信号图标的变化，信号图标是提示您的电脑与拍卖服务器之间的网络链接状况，绿色满格为网络链接良好，数据交互通畅；灰色红点信号为网络链接断开，数据交互受阻。（断开现象多为受个人网络线路设备、所在区域网络实时状态的影响而发生，一旦出现灰色红点信号，请及时检查个人网络线路设备，同时刷新浏览器页面重新获得链接）。", d.a.createElement("br", null), "3. 出价后，若不能确定出价是否成功，请点击“查询本人最新出价情况”。", d.a.createElement("br", null), "4. 如因竞买人在拍卖中不按拍卖须知等拍卖规定操作，属操作不当的非正常操作行为，相应后果由竞买人自行负责。", d.a.createElement("br", null)), d.a.createElement("p", null, d.a.createElement("br", null)), d.a.createElement("p", null, d.a.createElement("br", null)), d.a.createElement("p", null, d.a.createElement("br", null)), d.a.createElement("p", null, d.a.createElement("br", null)))));
    },
        V_ = function () {
      return m.createElement("div", {
        className: "Wdialog-content"
      }, m.createElement("div", {
        className: "martop20"
      }, m.createElement("div", null, m.createElement("p", null, "一、本须知为“单位非营业性客车额度拍卖”所制订，竞买人应当遵守本须知。"), m.createElement("br", null), m.createElement("p", null, "二、具备下列条件之一的可以参加拍卖："), m.createElement("p", null, "本市注册的企事业等法人单位，由经办人持有效期内的具有统一社会信用代码的单位营业执照原件、介绍信以及经办人身份证原件办理拍卖登记手续。"), m.createElement("p", null, "注：本市机关、事业、社团法人单位（以下简称控购单位）另须持相关部门核发的《上海市购买专项控制商品审批通知单》（以下简称《控购单》）。"), m.createElement("br", null), m.createElement("p", null, "三、本项拍卖活动采用网上拍卖和电话拍卖两种方式"), m.createElement("p", null, "1．网上拍卖：电脑连接上网后，打开浏览器，登录拍卖网址（https://paimai.alltobid.com），使用拍卖人提供的网上拍卖系统，按照《网上拍卖操作流程》进行拍卖。若竞买人在拍卖过程中退出前述拍卖系统，再次登录并运行拍卖系统的，须输入竞买人单位统一社会信用代码。"), m.createElement("p", null, "2．电话拍卖：拨打（021）16842828 、（021）16882333；接通后，按照《电话拍卖操作流程》进行拍卖。"), m.createElement("p", null, "3．竞买人只能用一个投标号在一台电脑、一门电话或手机上进行拍卖。"), m.createElement("p", null, "4．竞买人在拍卖人公告规定的拍卖时间期限内，持《拍卖密码凭条》中记载的投标拍卖号、密码自行选择拍卖方式，按照电脑页面显示或电话语音提示正确输入投标拍卖号、密码以及出价金额。"), m.createElement("p", null, "5．拍卖人将对电话拍卖采取主叫限制的措施，竞买人在办理拍卖登记时，最多可向拍卖人提供电话拍卖时所使用的两个一线一号的直线座机或手机主叫号码；电话拍卖时，系统仅接受由该两个主叫号码提交的出价，且每个主叫号码在同一场拍卖会中只能成功竞投一个客车额度。"), m.createElement("p", null, "6．鉴于电话线路有限，为避免竞买人不当占用线路造成线路繁忙，影响竞买人的正常竞买和出价，竞买人通过拨打电话方式参加竞买时，应严格按照提示音操作，听到提示音要求竞买人进行输入时，应当及时、准确地进行输入，如果超过10秒钟不输入，或者接连两次按键间隔时间超过10秒钟，或者在拨通电话后的操作过程中累积输入错误满3次，拍卖系统将提示后自动挂断竞买人的电话，竞买人须重新拨号参加拍卖。"), m.createElement("p", null, "7. 为使网络拍卖的公平、有序，竞买人应严格按照《网上拍卖操作流程》，登录网上拍卖网址，使用网上拍卖系统进行拍卖。同时禁止竞买人使用除拍卖人提供的软件外的任何软件（包括但不限于辅助软件、自动化拍卖软件等）参与拍卖。"), m.createElement("p", null, "8. 拍卖过程中，若竞买人使用上述非拍卖人提供的任何软件进行投标出价的均被视为非正常投标操作行为，拍卖人有权对该非正常操作行为采取限制措施（包括但不限于降速、暂停投标出价直至终止其本次拍卖等）。"), m.createElement("p", null, "9. 竞买人必须在办理拍卖登记前，仔细阅读拍卖公告、拍卖须知、拍卖操作流程，一经拍卖登记完成，竞买人即表示接受拍卖公告、拍卖须知、网络拍卖的客观状态、拍卖系统传导给网上拍卖系统界面的拍卖图文信息、提示和音频视频直播信号、拍卖操作流程规定的全部内容。"), m.createElement("br", null), m.createElement("p", null, "四、拍卖登记"), m.createElement("p", null, "1．必须由本单位经办人持介绍信和公告规定的有效相关证件原件，按公告规定的时间、地点，办理拍卖登记手续，同时交付拍卖保证金1000元整，领取《拍卖密码凭条》。拍卖手续费每次60元整，按实际拍卖次数发生的金额在成交付款或未成交退款时收取。"), m.createElement("p", null, "2．每场拍卖会，非控购单位只能办理一份有效的《拍卖密码凭条》，控购单位一份《控购单》只能办理一份有效的《拍卖密码凭条》，一份《拍卖密码凭条》只能竞拍一份客车额度。《拍卖密码凭条》自办理登记之日起半年之内有效。有效期内如拍卖未成交的，无需重新办理拍卖登记手续，可以在下一场拍卖会中继续使用，最多使用六次。有效期内投标次数已满六次的，或超过有效期的，则须由单位经办人持《拍卖密码凭条》以及有效期内的具有统一社会信用代码的单位营业执照原件、介绍信、经办人身份证原件（注：控购单位另须持《控购单》)重新办理拍卖登记手续。"), m.createElement("p", null, "3．单位若办理委托拍卖“在用单位非营业性客车额度”手续后，三年内不得登记参加拍卖。"), m.createElement("br", null), m.createElement("p", null), m.createElement("p", null, "五、系统提示"), m.createElement("p", null, "竞买人在拍卖会进行期间，可以输入投标拍卖号和密码，系统即时公布的相关拍卖信息，包括系统目前时间、目前拍卖人数、目前最低可成交价、目前最低可成交价的出价时间、目前数据库接受处理价格区间等；并可查询本人最新出价情况。"), m.createElement("br", null), m.createElement("p", null, "六、拍卖成交原则：价格优先、相同价格则时间优先。"), m.createElement("p", null, "1. 竞买人修改出价有效的，以其最后一次有效修改出价为最终出价；修改出价无效的，以其首次有效出价为最终出价；"), m.createElement("p", null, "2.竞买人的有效出价时间是以拍卖数据库接收处理写入时间为准。"), m.createElement("p", null, "3.竞买人以最终有效出价为竞价依据，以最终有效出价时间为竞时依据。"), m.createElement("p", null, "4.系统根据竞买人最终有效出价金额由高到低，金额相同的按拍卖数据库写入的有效出价时间先者优先的原则进行排序，竞买人依次成交。"), m.createElement("p", null, "公告规定的拍卖时间截止后，在公证机关监督下由系统根据成交规则进行排序开标，经确认有效后即时对外公布拍卖成交结果。"), m.createElement("br", null), m.createElement("p", null, "七、拍卖出价"), m.createElement("p", null, "1．本场拍卖会持续时间为60分钟，前30分钟为“首次出价时段”，后30分钟为“修改出价时段”。"), m.createElement("p", null, "2．竞买人应在首次出价时段内进行有效出价。首次出价确认提交后即出价入列，该出价进入序列等待数据库依次接收进行处理，页面提示进度条显示队列进度，出价处理完毕后提示出价有效/出价无效。如竞买人在“首次出价时段”内出价有效的，在该时段不能再次出价；如竞买人未在“首次出价时段”内提交出价或出价无效的，则表示不参加该场拍卖会。"), m.createElement("p", null, "3．“首次出价时段”内出价有效的竞买人，可进入“修改出价时段”并在该时段内进行1次或2次修改出价。客户端页面有固定幅度的加价、减价快捷键，另有自定义加价幅度快捷键，竞买人可以根据自己的需要设定加价幅度，该加价幅度必须是100元的整数倍，最大加价幅度为9900元。修改出价确认提交后即出价入列，该修改价格进入序列等待数据库依次接收进行处理，页面提示进度条显示队列进度，数据库接收处理完毕后提示修改出价有效/出价无效。"), m.createElement("p", null, "“修改出价时段”设有“目前数据库接受处理价格区间”，“目前数据库接受处理价格区间” 是指目前数据库接受处理有效出价的价格区间，本场拍卖会的数据库接受处理价格区间为最低可成交价的±300元。竞买人自行输入价格提交后，进入序列等待数据库依次接收进行处理，当数据库接收处理到竞买人的修改出价时，该修改出价应在“目前数据库接受处理价格区间”范围内，方为有效出价；否则页面提示出价不在“目前数据库接受处理价格区间”范围内，请重新出价。(由于竞买人的修改出价提交入列后到数据库接收处理时存在一定的时间差。因此，竞买人应充分估计、判断公开信息中“目前最低可成交价”、“目前数据库接受处理价格区间”的实时变动情况，谨慎合理地输入修改价格)"), m.createElement("p", null, "4．竞买人出价必须为100元的整数倍，计价货币为人民币。"), m.createElement("br", null), m.createElement("p", null, "八、查询"), m.createElement("p", null, "本场拍卖会结束后，可通过本公司网站：http://www.alltobid.com、上海国拍APP、微信公众号（shanghaiguopai）、服务专线电话（4008881220）自助查询拍卖结果。"), m.createElement("p", null), m.createElement("br", null), m.createElement("p", null, "九、拍卖成交的买受人"), m.createElement("p", null, "本公司将快递《非税收入一般缴款书》至买受人；买受人凭《非税收入一般缴款书》赴各自开户银行柜面，通过上海市“非税系统”办理成交付款手续；成功付款三个工作日后，凭银行盖章的《非税收入一般缴款书》第四联、《拍卖密码凭条》、有效的具有统一社会信用代码的单位营业执照原件至本公司领取《客车额度证明》并办理按实际拍卖次数发生的金额支付拍卖手续费及退还拍卖保证金手续。逾期未办理付款手续的，将被视为放弃成交，并作违约处理，即拍卖保证金不予退还。（领取的《客车额度证明》不得转让，在有效期内使用）"), m.createElement("br", null), m.createElement("p", null, "十、拍卖未成交的竞买人"), m.createElement("p", null, "《拍卖密码凭条》自办理登记之日起半年之内有效。有效期内如投标未成交的，除有新公告通知外，无需重新办理拍卖登记手续，可以在下场拍卖会中继续使用，最多使用六次。有效期内投标次数已满六次的，或超过有效期的，则须由本人持《拍卖密码凭条》以及有效期内的具有统一社会信用代码的单位营业执照原件、介绍信以及经办人身份证原件（注：控购单位另须持原《控购单》）重新办理拍卖登记手续。不再参加拍卖会的竞买人，可办理退还保证金和按实际拍卖次数发生的金额支付拍卖手续费。"), m.createElement("br", null), m.createElement("p", null, "十一、 其它注意事项："), m.createElement("p", null, "1. 拍卖系统使用的是网页浏览器，如果您使用的是Windows操作系统，建议您优先选择使用IE11、Microsoft Edge或Firefox最新版本的浏览器；如果您使用的是MacX操作系统，建议您选择使用Safari最新版本的浏览器，不建议您使用平板电脑。您可以登录http://www.alltobid.com网站进入模拟公测专栏，检查您的电脑浏览器是否符合要求。拍卖前务请了解熟悉网上投标操作指南，并进行相关测试，如有疑问可来电咨询4008881220或登录网站http://www.alltobid.com参阅。"), m.createElement("p", null, "2. 请实时关注页面上信号图标的变化，信号图标是提示您的电脑与拍卖服务器之间的网络链接状况，绿色满格为网络链接良好，数据交互通畅；灰色红点信号为网络链接断开，数据交互受阻。（断开现象多为受个人网络线路设备、所在区域网络实时状态的影响而发生，一旦出现灰色红点信号，请及时检查个人网络线路设备，同时刷新浏览器页面重新获得链接）"), m.createElement("p", null, "3. 出价后，若不能确定出价是否成功，请点击“查询本人最新出价情况”。"), m.createElement("p", null, "4. 如因竞买人在拍卖中不按拍卖须知等拍卖规定操作，属操作不当的非正常投标操作行为，相应后果由竞买人自行负责。"), m.createElement("p", null, "5. 获得客车额度证明后，在办理车辆上牌手续时，客车额度证明与购车发票的名称须一致。"), m.createElement("p", null, m.createElement("br", null)), m.createElement("p", null, m.createElement("br", null)), m.createElement("p", null, m.createElement("br", null)), m.createElement("p", null, m.createElement("br", null)))));
    },
        Y_ = function () {
      var e = O.queryAucType("type"),
          v = Object(E.b)();
      Object(m.useEffect)(function () {
        v(J());
        O.DisablePCScroll();
        return function () {
          O.EnblePCScroll();
          v(_());
        };
      }, [v]);
      return d.a.createElement(d.a.Fragment, null, d.a.createElement("div", {
        className: "wdialog wdProtocol"
      }, d.a.createElement("div", {
        className: "wdtitle"
      }, d.a.createElement("span", null, "拍卖须知")), d.a.createElement("div", {
        className: "wdcontent"
      }, d.a.createElement("div", {
        className: "wdframe"
      }, d.a.createElement("div", {
        className: "wdbox"
      }, e && e === n.INDIVIDUAL.toLowerCase() && d.a.createElement(z_, null), e && e === n.CORPORATE.toLowerCase() && d.a.createElement(V_, null)))), d.a.createElement("div", {
        className: "wdagree"
      }, d.a.createElement("div", {
        className: "wdagreebtn",
        onClick: function () {
          v(q(!1));
        }
      }, d.a.createElement("span", null, "我同意拍卖须知")))));
    };

    e(638);

    var c$ = function () {
      var e = Object(E.b)(),
          v = O.TestBrower(),
          t = O.SupportWebSocket() && v.support,
          a = v.version,
          n = v.browerCore,
          l = t ? "浏览器测试通过" : "浏览器未通过测试",
          r = t ? "wTestResult bg-pass" : "wTestResult bg-wrong",
          i = t ? "browerinfo ibg-pass" : "browerinfo ibg-wrong";
      Object(m.useEffect)(function () {
        e(J());
        e(q(!1));
        O.DisablePCScroll();
        return function () {
          O.EnblePCScroll();
          e(_());
        };
      }, [e]);
      return d.a.createElement(d.a.Fragment, null, d.a.createElement("div", {
        className: "wdialog wdComTest"
      }, d.a.createElement("div", {
        className: "wdtitle"
      }, d.a.createElement("span", null, "兼容性测试")), d.a.createElement("div", {
        className: "wdcontent"
      }, d.a.createElement("div", {
        className: "wdframe wdframeComTest"
      }, d.a.createElement("div", {
        className: "wdbox"
      }, d.a.createElement("div", {
        className: r
      }, d.a.createElement("span", null, l)), d.a.createElement("div", {
        className: "wTestTip"
      }, d.a.createElement("p", null, "额度拍卖友情提示：上海市非营业性客车额度投标拍卖网站将升级SSL证书版本。2019年9月起客车额度投标拍卖系统将不再支持Windows XP，Windows Server 2003及以下版本的客户端操作系统，提请竞买客户尽早升级操作系统。")), d.a.createElement("div", {
        className: "browerTestBox"
      }, d.a.createElement("div", {
        className: i
      }, d.a.createElement("span", null, "您使用的是", n, "内核"), "" !== a && d.a.createElement("span", null, ",版本号为", a), d.a.createElement("span", null, "的浏览器")), !t && O.isWindows() && d.a.createElement("div", {
        className: "browerinfo browerinfotip"
      }, d.a.createElement("span", null, "推荐使用"), d.a.createElement("br", null), d.a.createElement("span", null, "ie11或edge浏览器，请去官网", d.a.createElement("a", {
        href: "https://support.microsoft.com/zh-cn/help/17621/internet-explorer-downloads",
        target: "_blank",
        rel: "noopener noreferrer"
      }, "下载")), d.a.createElement("br", null), d.a.createElement("span", null, "最新版本的firefox浏览器，请去官网", d.a.createElement("a", {
        href: "http://www.firefox.com.cn/",
        target: "_blank",
        rel: "noopener noreferrer"
      }, "下载"), " "), d.a.createElement("br", null)), !t && O.isMac() && d.a.createElement("div", {
        className: "browerinfo browerinfotip"
      }, d.a.createElement("span", null, "推荐使用:"), d.a.createElement("br", null), d.a.createElement("span", null, "safari13.1以上的浏览器，请去App Store更新。"), d.a.createElement("br", null))), d.a.createElement("div", {
        className: "testapp"
      }, d.a.createElement("span", null, "提醒：如您登录拍卖系统后，仍有问题，请登录", d.a.createElement("a", {
        href: "https://test.alltobid.com/index.html?type=new",
        target: "_blank",
        rel: "noopener noreferrer"
      }, "https://test.alltobid.com"), "  进行详细测试。"))))), t && d.a.createElement("div", {
        className: "wdagree"
      }, d.a.createElement("div", {
        className: "wdconfirmbtn",
        onClick: function () {
          e(G(!1));
          e(q(!0));
        }
      }, d.a.createElement("span", null, "确认")))));
    },
        A$ = e(308),
        _$ = Object(B.b)({
      name: "counter",
      initialState: {
        value: 0
      },
      reducers: {
        increment: function (c) {
          c.value += 1;
        },
        decrement: function (c) {
          c.value -= 1;
        },
        incrementByAmount: function (c, A) {
          c.value += A.payload;
        }
      }
    }),
        $$ = _$.actions,
        e$ = ($$.increment, $$.decrement, $$.incrementByAmount, _$.reducer),
        v$ = Object(B.a)({
      reducer: {
        counter: e$,
        authentication: oc,
        login: Rc,
        alert: d_,
        system: Y,
        bid: A_,
        richAlert: Mc
      }
    });

    function t$() {
      var e = Object(E.c)(Fc),
          v = Object(E.b)(),
          t = Object(E.c)(Oc),
          a = Object(E.c)(X),
          n = Object(E.c)(K);
      Object(m.useEffect)(function () {
        if (I()("#divCaptcha .verify-img-panel").length < 1 || t) I()("#divCaptcha ").off().on("click", ".verify-img-panel,.verify-sub-block", function () {
          if (O.checkHasRefreshLoginCaptcha()) v(l_("请勿频繁刷新"));else {
            O.setHasRefreshLoginCaptcha();
            O.captchaObj.refresh();
            v(Cc());
          }
        });

        if (I()("#divCaptcha .verify-img-panel").length < 1 && !n && !a) {
          O.captchaObj = new Captcha("#divCaptcha", {
            type: O.LoginCaptchaType,
            appid: O.LoginCaptchaAppid,
            server: O.LoginCaptchaServer,
            captchaIdEle: "wtbcaptchaid",
            captchaValueEle: "wtbcaptchavalue",
            ready: function () {},
            success: function () {
              I()("#divCaptcha ").off();
              v(Cc());
            },
            error: function (c) {}
          });
          O.captchaObj.init();
        }

        if (t) {
          O.captchaObj.refresh();
          v(Cc());
        }
      }, [t, v, n, a]);
      return d.a.createElement(d.a.Fragment, null, d.a.createElement("div", {
        className: "form-field wform-relative "
      }, d.a.createElement("span", null, "图像校验码"), d.a.createElement("div", {
        className: "wform-capturebox"
      }, d.a.createElement("input", {
        type: "hidden",
        name: "wtbcaptchaid",
        id: "wtbcaptchaid"
      }), d.a.createElement("input", {
        type: "hidden",
        name: "wcaptchaAnswer",
        id: "wtbcaptchavalue"
      }), d.a.createElement("div", {
        className: "refreshCapTipBox"
      }, d.a.createElement("span", {
        className: "refreshCapTip"
      }, "点击图像刷新校验码")), d.a.createElement("div", {
        id: "divCaptcha"
      }), d.a.createElement("div", {
        className: "wverifyerrorctlBox"
      }, e && d.a.createElement("label", {
        className: "wCapErrortip verifyerrorctl wverifyerrorctl"
      }, e)))));
    }

    var l$ = function () {
      setTimeout(function () {
        O.ResizeWebPage();
      }, 10);
      var v = Object(m.useState)(!1),
          t = Object(j.a)(v, 2),
          a = t[0],
          l = t[1],
          r = Object(A$.a)({
        mode: "onBlur"
      }).setValue,
          i = Object(h.g)(),
          u = Object(h.h)(),
          o = Object(E.b)(),
          s = Object(E.c)(rc),
          f = Object(E.c)(ic),
          b = Object(E.c)(K),
          p = Object(E.c)(X),
          g = Object(E.c)(Dc),
          B = Object(E.c)(xc),
          N = Object(E.c)(qc),
          C = Object(E.c)(Sc),
          T = Object(E.c)(Uc),
          k = Object(E.c)(Pc),
          I = O.queryAucType("type"),
          U = I === n.INDIVIDUAL.toLowerCase() ? "身份证明编号" : "单位证件号",
          S = I === n.INDIVIDUAL.toLowerCase() ? "请输入身份证明编号" : "请输入单位证件号",
          P = Object(E.c)(Ic),
          D = "type=" + O.queryAucType("type"),
          x = Object(m.useMemo)(function () {
        return u.state || {
          from: {
            pathname: "/",
            search: D
          }
        };
      }, [u.state, D]).from,
          F = I === n.INDIVIDUAL.toLowerCase() ? "上海市个人非营业性客车额度拍卖" : "上海市单位非营业性客车额度拍卖";
      document.title = F;
      Object(m.useEffect)(function () {
        var c;
        r("username", "");
        r("password", "");
        o(Bc(""));
        o(kc(""));
        o(r_());
        o(Ec());
        o(lc());
        O.clearRefreshLoginCaptcha();
        v$.dispatch((c = Object(y.a)(w.a.mark(function c(A) {
          var e, v;
          return w.a.wrap(function (c) {
            for (;;) switch (c.prev = c.next) {
              case 0:
                c.next = 2;
                return fetch("/system-info");

              case 2:
                if (200 !== (e = c.sent).status) {
                  c.next = 8;
                  break;
                }

                c.next = 6;
                return e.json();

              case 6:
                if ((v = c.sent).captchaServiceUrl) O.LoginCaptchaServer = v.captchaServiceUrl + "api/";

              case 8:
              case "end":
                return c.stop();
            }
          }, c);
        })), function (A) {
          return c.apply(this, arguments);
        }));
      }, [o, r]);
      Object(m.useEffect)(function () {
        if (a && f) i.replace(x);
      }, [i, x, a, f]);
      var W = "" === O.queryAucType("type") ? n.INDIVIDUAL.toLowerCase() : O.queryAucType("type");
      return d.a.createElement(d.a.Fragment, null, b && W === (null === I || void 0 === I ? void 0 : I.toLowerCase()) && d.a.createElement(c$, null), !b && W === (null === I || void 0 === I ? void 0 : I.toLowerCase()) && p && d.a.createElement(Y_, null), d.a.createElement("div", {
        className: "wloginbody wbody"
      }, d.a.createElement("div", {
        className: "wloginmain"
      }, d.a.createElement("div", {
        className: "wcontent"
      }, d.a.createElement("div", {
        className: "wpitem lgleft"
      }, d.a.createElement("ul", null, d.a.createElement("li", null, d.a.createElement("div", {
        onClick: function () {
          o(G(!0));
        }
      }, d.a.createElement("span", null, "测试"))), d.a.createElement("li", null, d.a.createElement("div", null, I === n.INDIVIDUAL.toLowerCase() && d.a.createElement("a", {
        href: "https://www.alltobid.com/contents/16/69.html",
        target: "_blank",
        rel: "noopener noreferrer"
      }, d.a.createElement("span", null, "拍卖须知")), I === n.CORPORATE.toLowerCase() && d.a.createElement("a", {
        href: "https://www.alltobid.com/contents/17/6296.html",
        target: "_blank",
        rel: "noopener noreferrer"
      }, d.a.createElement("span", null, "拍卖须知")))), d.a.createElement("li", null, d.a.createElement("div", null, I === n.INDIVIDUAL.toLowerCase() && d.a.createElement("a", {
        href: "https://www.alltobid.com/contents/16/223.html",
        target: "_blank",
        rel: "noopener noreferrer"
      }, d.a.createElement("span", null, "拍卖操作指南")), I === n.CORPORATE.toLowerCase() && d.a.createElement("a", {
        href: "https://www.alltobid.com/contents/17/88.html",
        target: "_blank",
        rel: "noopener noreferrer"
      }, d.a.createElement("span", null, "拍卖操作指南")))), d.a.createElement("li", null, d.a.createElement("div", null, d.a.createElement("a", {
        href: "https://www.alltobid.com/channels/30.html",
        target: "_blank",
        rel: "noopener noreferrer"
      }, d.a.createElement("span", null, "公司介绍")))))), d.a.createElement("div", {
        className: "wpitem lgright"
      }, d.a.createElement("div", {
        className: "wtitlebox"
      }, d.a.createElement("div", {
        className: "wtitle"
      }, I && d.a.createElement("span", null, F))), d.a.createElement("div", {
        className: "wformbox"
      }, d.a.createElement("div", {
        className: "wform-field"
      }, d.a.createElement("div", {
        className: "wfrmtip"
      }, d.a.createElement("span", null, "投标号")), d.a.createElement("div", {
        className: "wfrmctl wform-relative"
      }, d.a.createElement("input", {
        id: "wtbusername",
        title: "",
        autoComplete: "off",
        pattern: "\\d{8}",
        maxLength: 8,
        inputMode: "numeric",
        placeholder: "请输入8位投标号",
        onBlur: function (c) {
          o(gc(c.target.value));
        },
        onChange: function (c) {
          o(Bc(c.target.value));
        },
        value: T
      }), g && d.a.createElement("label", {
        className: "wErrortip wErrorctl"
      }, g))), d.a.createElement("div", {
        className: "wform-field"
      }, d.a.createElement("div", {
        className: "wfrmtip"
      }, d.a.createElement("span", null, "密码")), d.a.createElement("div", {
        className: "wfrmctl wform-relative"
      }, d.a.createElement("input", {
        id: "wtbpassword",
        title: "",
        type: "password",
        placeholder: "请输入4位投标密码",
        pattern: "\\d{4}",
        maxLength: 4,
        inputMode: "numeric",
        name: "password",
        value: C,
        autoComplete: "current-password",
        onBlur: function (c) {
          o(yc(c.target.value));
        },
        onChange: function (c) {
          o(Tc(c.target.value));
        }
      }), B && d.a.createElement("label", {
        className: "wErrortip wErrorctl"
      }, B))), P && d.a.createElement("div", {
        className: "wform-field"
      }, d.a.createElement("div", {
        className: "wfrmtip"
      }, d.a.createElement("span", null, U)), d.a.createElement("div", {
        className: "wfrmctl wform-relative"
      }, d.a.createElement("input", {
        type: "text",
        title: "",
        maxLength: 18,
        autoComplete: "off",
        name: "idCard",
        id: "wtbidCard",
        placeholder: S,
        value: k,
        onBlur: function (c) {
          o(jc(c.target.value));
        },
        onChange: function (c) {
          o(kc(c.target.value));
        }
      }), N && I === n.INDIVIDUAL.toLowerCase() && d.a.createElement("label", {
        className: "wErrortip wErrorctl"
      }, "请输入身份证明编号"), N && I === n.CORPORATE.toLowerCase() && d.a.createElement("label", {
        className: "wErrortip wErrorctl"
      }, "请输入单位证件号"))), d.a.createElement(t$, null), d.a.createElement("div", {
        className: "wsubmit",
        onClick: function () {
          if (s) console.debug("Still logging, cancel.");else {
            var c = O.GetDeviceInfo(),
                A = O.GetDeviceType(),
                e = "",
                v = "",
                t = "",
                a = "",
                r = "";

            if (c) {
              e = c.deviceType;
              v = c.IDFA;
              t = c.appVersion;
              a = c.osver;
            }

            if (null !== localStorage.getItem("tokenId")) r = localStorage.getItem("tokenId");
            var i = window.document.getElementById("wtbcaptchaid").value,
                u = window.document.getElementById("wtbcaptchavalue").value,
                m = window.document.getElementById("wtbusername").value,
                d = window.document.getElementById("wtbpassword").value,
                f = null !== window.document.getElementById("wtbidCard") ? window.document.getElementById("wtbidCard").value : "";

            if (i) {
              o(function (c, A, e, v, t, a, l, r, i, u, o) {
                s = Object(y.a)(w.a.mark(function s(m, d) {
                  var f, b, E, p, h;
                  return w.a.wrap(function (s) {
                    for (;;) switch (s.prev = s.next) {
                      case 0:
                        f = !0;

                        if (!sc(c)) {
                          m(gc(c));
                          f = !1;
                        }

                        if (!mc(A)) {
                          m(yc(A));
                          f = !1;
                        }

                        if (("" === a || void 0 === a) && d().login.idCardRequired) {
                          m(jc(a));
                          f = !1;
                        }

                        if ("" === v) {
                          m(wc(v));
                          f = !1;
                        }

                        if (f) {
                          s.next = 7;
                          break;
                        }

                        return s.abrupt("return");

                      case 7:
                        m(vc());
                        b = {
                          method: "POST",
                          headers: {
                            "Content-Type": "application/json"
                          },
                          body: JSON.stringify({
                            username: c,
                            password: A,
                            captchaId: e,
                            captchaAnswer: v,
                            tokenId: t,
                            idCard: a,
                            deviceType: l,
                            deviceModel: r,
                            deviceId: i,
                            appVersion: u,
                            osver: o
                          })
                        };
                        s.prev = 9;
                        s.next = 12;
                        return fetch("/login", b);

                      case 12:
                        E = s.sent;
                        m(nc());

                        if (!E.ok) {
                          s.next = 27;
                          break;
                        }

                        s.next = 17;
                        return E.json();

                      case 17:
                        p = s.sent;
                        window.localStorage.setItem("user", JSON.stringify(p));
                        (h = new Date()).setSeconds(new Date().getSeconds() + p.expires_in);
                        window.localStorage.setItem("userExpireTime", O.formatYYYYMDHmssDt(h));
                        O.curBidNumber = c;
                        m(pc(p));
                        m(tc(p));
                        s.next = 38;
                        break;

                      case 27:
                        window.document.getElementById("wtbcaptchavalue").value = "";
                        m(hc(E.statusText));
                        m(ac(E.statusText));

                        if (400 !== E.status) {
                          s.next = 37;
                          break;
                        }

                        s.next = 33;
                        return E.json();

                      case 33:
                        if ("Id card required" === s.sent.error_description) {
                          m(Nc(!0));
                          if (O.queryAucType("type") === n.INDIVIDUAL.toLowerCase()) m(l_("您的投标号已经登录过，请输入身份证明编号确保登录有效"));else m(l_("您的投标号已经登录过，请输入单位证件号确保登录有效"));
                        } else m(l_("图像校验码错误！"));

                        s.next = 38;
                        break;

                      case 37:
                        if (401 === E.status) {
                          m(Tc(""));
                          m(Bc(""));
                          m(kc(""));
                          m(l_("用户登录失败"));
                        } else m(l_(E.statusText));

                      case 38:
                        s.next = 43;
                        break;

                      case 40:
                        s.prev = 40;
                        s.t0 = s.catch(9);
                        m(nc());

                      case 43:
                      case "end":
                        return s.stop();
                    }
                  }, s, null, [[9, 40]]);
                }));
                return function (c, A) {
                  return s.apply(this, arguments);
                };
                var s;
              }(m, d, i, u, r, f, A, e, v, t, a));
              l(!0);
            }
          }
        }
      }, d.a.createElement("span", null, "参加投标竞买")))))), d.a.createElement("div", {
        className: "gpfooter"
      }, d.a.createElement("span", null, "上海国际商品拍卖有限公司"))));
    };

    e(639);

    var u$ = function () {
      var e = Object(E.b)();
      Object(m.useEffect)(function () {
        e(J());
        e(r_());
        e(Jc());
        return function () {
          e(_());
        };
      }, [e]);
      return d.a.createElement(d.a.Fragment, null, d.a.createElement("div", {
        className: "wlogoutD "
      }, d.a.createElement("div", {
        className: "wlogoutDtitle"
      }, d.a.createElement("span", null, "系统提示")), d.a.createElement("div", {
        className: "wlogoutDcontent"
      }, d.a.createElement("span", null, "确定退出登录?")), d.a.createElement("div", {
        className: "wlogoutDBox"
      }, d.a.createElement("div", {
        className: "wlogoutDItem",
        onClick: function () {
          e(__());
        }
      }, d.a.createElement("div", {
        className: "wconfirmbtn"
      }, d.a.createElement("span", null, "确定"))), d.a.createElement("div", {
        className: "wlogoutDItem",
        onClick: function () {
          e(BA(!1));
        }
      }, d.a.createElement("div", {
        className: "wcancelbtn"
      }, d.a.createElement("span", null, "取消"))))));
    },
        o$ = function () {
      var e = Object(E.b)(),
          v = Object(E.c)(m_);
      Object(m.useEffect)(function () {
        e(J());
        O.DisablePCScroll();
        return function () {
          O.EnblePCScroll();
          e(_());
        };
      }, [e]);
      return d.a.createElement(d.a.Fragment, null, d.a.createElement("div", {
        className: "walert"
      }, d.a.createElement("div", {
        className: "walerttitle"
      }, d.a.createElement("span", null, "系统提示")), d.a.createElement("div", {
        className: "walertcontent"
      }, d.a.createElement("span", null, v.message)), !v.hideConfirmbtn && d.a.createElement("div", {
        className: "walertagree"
      }, d.a.createElement("div", {
        className: "walertagreebtn",
        onClick: function () {
          O.EnblePCScroll();
          e(b_(v.callbackFun));
          e(r_());
        }
      }, d.a.createElement("span", null, "确定")))));
    },
        s$ = e(159),
        m$ = function () {
      var e = Object(h.g)(),
          v = Object(E.b)(),
          t = Object(E.c)(m_),
          a = Object(E.c)(XA),
          n = Object(E.c)(z),
          l = Object(E.c)(uc),
          r = Object(E.c)(UA);
      O.storageChangeHandler = window.addEventListener("storage", function () {
        if (window.localStorage.getItem("user") && l) {
          var c = JSON.parse(window.localStorage.getItem("user")),
              A = s$.decode(c.access_token).sub;
          if (s$.decode(l.access_token).sub !== A && r) v(function () {
            var c = Object(y.a)(w.a.mark(function c(A, e) {
              return w.a.wrap(function (c) {
                for (;;) switch (c.prev = c.next) {
                  case 0:
                    if (e().bid.connected) {
                      A(n_({
                        message: "程序已在其他页面运行或刷新过于频繁，请关闭浏览器后再次运行。",
                        hideConfirmbtn: !0
                      }));
                      A(eA());
                      A($_());
                    }

                  case 1:
                  case "end":
                    return c.stop();
                }
              }, c);
            }));
            return function (A, e) {
              return c.apply(this, arguments);
            };
          }());
        }
      }, !1);
      Object(m.useEffect)(function () {
        return e.listen(function (c) {
          console.log("You changed the page to: ".concat(c.pathname));
          v(r_());
          v(Jc());
        });
      }, [e, v]);
      return d.a.createElement(d.a.Fragment, null, t.message && (null === t.sourceType || "" === t.sourceType || void 0 === t.sourceType) && d.a.createElement(o$, null), a && d.a.createElement(u$, null), n > 0 && d.a.createElement("div", {
        className: "webmask"
      }));
    };

    function d$() {
      return d.a.createElement(h.d, null, d.a.createElement(h.b, {
        path: "/login",
        component: l$
      }), d.a.createElement(h.b, {
        path: "/",
        component: X_
      }), d.a.createElement(E_, {
        exact: !0,
        path: "/",
        component: X_
      }), d.a.createElement(h.a, {
        path: "*",
        to: "/"
      }));
    }

    var f$ = function () {
      O.init();
      return d.a.createElement(d.a.Fragment, null, O.IsPC() && d.a.createElement(m$, null), O.IsPC() && d.a.createElement(d$, null));
    };

    e(640);
    Boolean("localhost" === window.location.hostname || "[::1]" === window.location.hostname || window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));
    b.a.render(d.a.createElement(d.a.StrictMode, null, d.a.createElement(E.a, {
      store: v$
    }, d.a.createElement(p.a, null, d.a.createElement(f$, null)))), document.getElementById("root"));
    if ("serviceWorker" in navigator) navigator.serviceWorker.ready.then(function (c) {
      c.unregister();
    }).catch(function (c) {
      console.error(c.message);
    });
  }
}, [[309, 1, 2]]]);